PhpParser\Builder\Trait_::getNode PHP Method

getNode() public method

Returns the built trait node.
public getNode ( ) : Trait_
return PhpParser\Node\Stmt\Trait_ The built interface node
    public function getNode()
    {
        return new Stmt\Trait_($this->name, array('stmts' => array_merge($this->properties, $this->methods)), $this->attributes);
    }