Abstract
ChildrenPhpParser\Builder\Class_
PhpParser\Builder\FunctionLike
PhpParser\Builder\Interface_
PhpParser\Builder\Namespace_
PhpParser\Builder\Trait_
ImplementsPhpParser\Builder
Methods
public abstract addStmt( $stmt)
public addStmts(array $stmts)
 

Adds multiple statements.

  • return $this The builder instance (for fluid interface)
public abstract PhpParser\Builder::getNode() : PhpParser\Node
 

Returns the built node.

  • return Node The built node
public setDocComment( $docComment)
 

Sets doc comment for the declaration.

  • return $this The builder instance (for fluid interface)
Properties
protected $attributes
© 2020 Bruce Wells
Search Namespaces \ Classes
ConfigurationNumbers (0-9.) only