function EnumOptions::setUninterpretedOption
The parser stores options it doesn't recognize here. See above.
Generated from protobuf field <code>repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;</code>
Parameters
array<\Google\Protobuf\Internal\UninterpretedOption>|\Google\Protobuf\Internal\RepeatedField $var:
Return value
$this
File
-
vendor/
google/ protobuf/ src/ Google/ Protobuf/ Internal/ EnumOptions.php, line 233
Class
- EnumOptions
- Generated from protobuf message <code>google.protobuf.EnumOptions</code>
Namespace
Google\Protobuf\InternalCode
public function setUninterpretedOption($var) {
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Internal\UninterpretedOption::class);
$this->uninterpreted_option = $arr;
return $this;
}