function FileOptions::getPhpNamespace
Use this option to change the namespace of php generated classes. Default is empty. When this option is empty, the package name will be used for determining the namespace.
Generated from protobuf field <code>optional string php_namespace = 41;</code>
Return value
string
File
-
vendor/
google/ protobuf/ src/ Google/ Protobuf/ Internal/ FileOptions.php, line 965
Class
- FileOptions
- Generated from protobuf message <code>google.protobuf.FileOptions</code>
Namespace
Google\Protobuf\InternalCode
public function getPhpNamespace() {
return isset($this->php_namespace) ? $this->php_namespace : '';
}