PHPMD\Node\MethodNode::getNamespaceName PHP Méthode

getNamespaceName() public méthode

Returns the name of the parent package.
public getNamespaceName ( ) : string
Résultat string
    public function getNamespaceName()
    {
        return $this->getNode()->getParent()->getNamespace()->getName();
    }