Abstract
| Methods |
| public abstract addStmt( $stmt) Adds a statement.
|
| public addStmts(array $stmts) Adds multiple statements.
|
| public setDocComment( $docComment) Sets doc comment for the declaration.
|
| Properties |
protected array $attributes = []
|
| Methods |
| public abstract addStmt( $stmt) Adds a statement.
|
| public addStmts(array $stmts) Adds multiple statements.
|
| public abstract PhpParser\Builder::getNode() : PhpParser Returns the built node.
|
| public setDocComment( $docComment) Sets doc comment for the declaration.
|
| Properties |
protected array $attributes = []
|