public function setPhpNamespace($var)
    {
        GPBUtil::checkString($var, True);
        $this->php_namespace = $var;
        $this->has_php_namespace = true;

        return $this;
    }
public function setPhpNamespace($var)
    {
        GPBUtil::checkString($var, True);
        $this->php_namespace = $var;
        $this->has_php_namespace = true;

        return $this;
    }
public function setPhpNamespace ( $ var ) { GPBUtil :: checkString ( $ var , True ) ; $ this -> php_namespace = $ var ; $ this -> has_php_namespace = true ; return $ this ; }
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>
@param string $var
@return $this
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 .