function FileOptions::setPhpClassPrefix
Sets the php class prefix which is prepended to all php generated classes from this .proto. Default is empty.
Generated from protobuf field <code>optional string php_class_prefix = 40;</code>
Parameters
string $var:
Return value
$this
File
-
vendor/
google/ protobuf/ src/ Google/ Protobuf/ Internal/ FileOptions.php, line 949
Class
- FileOptions
- Generated from protobuf message <code>google.protobuf.FileOptions</code>
Namespace
Google\Protobuf\InternalCode
public function setPhpClassPrefix($var) {
GPBUtil::checkString($var, True);
$this->php_class_prefix = $var;
return $this;
}