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