PDepend\Source\Language\PHP\AbstractPHPParser::getNamespaceOrPackageName PHP 메소드

getNamespaceOrPackageName() 개인적인 메소드

Returns the name of a declared names. When the parsed code is not namespaced this method will return the name from the @package annotation.
부터: 0.9.8
private getNamespaceOrPackageName ( ) : string
리턴 string
    private function getNamespaceOrPackageName()
    {
        if ($this->namespaceName === null) {
            return $this->packageName;
        }
        return $this->namespaceName;
    }
AbstractPHPParser