abstract | |
|---|---|
extends |
Declaration |
| Methods | ||
|---|---|---|
public
|
makeReturnByRef(): $this
|
# |
public
|
addParam(Param|Param $param): $this
|
# |
public
|
addParams((Param|Param)[] $params): $this
|
# |
public
|
setReturnType(string|Name|Identifier|ComplexType $type): $this
|
# |
| Methods inherited from PhpParser\Builder\Declaration |
|---|
addStmt(), addStmts(), setDocComment() |
| Properties | |||
|---|---|---|---|
protected
|
bool
|
$returnByRef = false
|
# |
protected
|
Param[]
|
$params = []
|
# |
protected
|
Identifier|Name|ComplexType|null
|
$returnType = null
|
# |
| Properties inherited from PhpParser\Builder\Declaration |
|---|
$attributes |