Lines Matching refs:value
71 * @param long $value_type Type of the stored value element.
72 * @param string $klass Message/Enum class name of value instance
145 * This will also be called for: $arr[$key] = $value
148 * @param object $value The element to be assigned.
151 * @throws \ErrorException Invalid type for value.
154 public function offsetSet($key, $value)
163 GPBUtil::checkInt32($value);
167 GPBUtil::checkUint32($value);
172 GPBUtil::checkInt64($value);
176 GPBUtil::checkUint64($value);
179 GPBUtil::checkFloat($value);
182 GPBUtil::checkDouble($value);
185 GPBUtil::checkBool($value);
188 GPBUtil::checkString($value, true);
191 if (is_null($value)) {
194 GPBUtil::checkMessage($value, $this->klass);
200 $this->container[$key] = $value;