gossi\codegen\model\parts\QualifiedNamePart::setQualifiedName PHP Method

setQualifiedName() public method

In contrast to setName(), this method accepts the fully qualified name including the namespace.
public setQualifiedName ( string $name )
$name string
    public function setQualifiedName($name)
    {
        if (false !== ($pos = strrpos($name, '\\'))) {
            $this->namespace = trim(substr($name, 0, $pos), '\\');
            $this->name = substr($name, $pos + 1);
            return $this;
        }
        $this->namespace = null;
        $this->name = $name;
        return $this;
    }