function FileOptions::setPhpMetadataNamespace
Use this option to change the namespace of php generated metadata classes. Default is empty. When this option is empty, the proto file name will be used for determining the namespace.
Generated from protobuf field <code>optional string php_metadata_namespace = 44;</code>
Parameters
string $var:
Return value
$this
File
-
vendor/
google/ protobuf/ src/ Google/ Protobuf/ Internal/ FileOptions.php, line 1029
Class
- FileOptions
- Generated from protobuf message <code>google.protobuf.FileOptions</code>
Namespace
Google\Protobuf\InternalCode
public function setPhpMetadataNamespace($var) {
GPBUtil::checkString($var, True);
$this->php_metadata_namespace = $var;
return $this;
}