Copied!
Abstract
Methods
public abstract addStmt ( $stmt )
public addStmts ( array $stmts )
 

Adds multiple statements.

  • param array $stmts The statements to add
  • 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.

  • param PhpParser\Comment\Doc | string $docComment Doc comment to set
  • return $this The builder instance (for fluid interface)
Properties
protected $attributes
© 2022 Bruce Wells
Search Namespaces \ Classes
Configuration