function Mixin::setRoot
If non-empty specifies a path under which inherited HTTP paths are rooted.
Generated from protobuf field <code>string root = 2;</code>
Parameters
string $var:
Return value
$this
File
-
vendor/
google/ protobuf/ src/ Google/ Protobuf/ Mixin.php, line 157
Class
- Mixin
- Declares an API Interface to be included in this interface. The including interface must redeclare all the methods from the included interface, but documentation and options are inherited as follows:
Namespace
Google\ProtobufCode
public function setRoot($var) {
GPBUtil::checkString($var, True);
$this->root = $var;
return $this;
}