abstract
implements
Builder
abstract public
addStmt($stmt)
PhpParser\Builder\Method::addStmt()
public
addStmts(array $stmts): $this
Adds multiple statements.
The statements to add
The builder instance (for fluid interface)
setDocComment(Doc|string $docComment): $this
Sets doc comment for the declaration.
Doc comment to set
protected
$attributes = []