extends |
FunctionLike |
|---|
| Methods | ||
|---|---|---|
public
|
__construct(string $name)
|
# |
public
|
addStmt(Node|Builder $stmt): $this
|
# |
public
|
addAttribute(Attribute|AttributeGroup $attribute): $this
|
# |
public
|
getNode(): Function_
|
# |
| Methods inherited from PhpParser\Builder\FunctionLike |
|---|
makeReturnByRef(), addParam(), addParams(), setReturnType() |
| Methods inherited from PhpParser\Builder\Declaration |
|---|
addStmts(), setDocComment() |
| Properties | |||
|---|---|---|---|
protected
|
string
|
$name
|
# |
protected
|
list<Stmt>
|
$stmts = []
|
# |
protected
|
list<AttributeGroup>
|
$attributeGroups = []
|
# |
| Properties inherited from PhpParser\Builder\FunctionLike |
|---|
$returnByRef, $params, $returnType |
| Properties inherited from PhpParser\Builder\Declaration |
|---|
$attributes |