Phan\Language\FQSEN\FullyQualifiedGlobalStructuralElement::withNamespace PHP Method

withNamespace() public method

public withNamespace ( string $namespace ) : static
$namespace string
return static
    public function withNamespace(string $namespace)
    {
        return static::make(self::cleanNamespace($namespace), $this->getName(), $this->getAlternateId());
    }