PhpParser\Builder\Class_::getNode PHP Method

getNode() public method

Returns the built class node.
public getNode ( ) : Class_
return PhpParser\Node\Stmt\Class_ The built class node
    public function getNode()
    {
        return new Stmt\Class_($this->name, array('flags' => $this->flags, 'extends' => $this->extends, 'implements' => $this->implements, 'stmts' => array_merge($this->uses, $this->constants, $this->properties, $this->methods)), $this->attributes);
    }