function Annotation::setSemantic
Generated from protobuf field <code>optional .google.protobuf.GeneratedCodeInfo.Annotation.Semantic semantic = 5;</code>
Parameters
int $var:
Return value
$this
File
-
vendor/
google/ protobuf/ src/ Google/ Protobuf/ Internal/ GeneratedCodeInfo/ Annotation.php, line 243
Class
- Annotation
- Generated from protobuf message <code>google.protobuf.GeneratedCodeInfo.Annotation</code>
Namespace
Google\Protobuf\Internal\GeneratedCodeInfoCode
public function setSemantic($var) {
GPBUtil::checkEnum($var, \Google\Protobuf\Internal\GeneratedCodeInfo\Annotation\Semantic::class);
$this->semantic = $var;
return $this;
}