PHPMD\Node\MethodNode::getParentName PHP Метод

getParentName() публичный Метод

Returns the name of the parent type or null when this node has no parent type.
public getParentName ( ) : string
Результат string
    public function getParentName()
    {
        return $this->getNode()->getParent()->getName();
    }