PhpParser\NodeAbstract::getType PHP Method

getType() public method

Gets the type of the node.
public getType ( ) : string
return string Type of the node
    public function getType()
    {
        return strtr(substr(rtrim(get_class($this), '_'), 15), '\\', '_');
    }