extends |
Stmt |
|---|---|
implements |
FunctionLike |
| Methods | ||
|---|---|---|
public
|
__construct(string|Identifier $name, array $subNodes = [], array $attributes = [])
|
# |
public
|
getSubNodeNames(): array
|
# |
public
|
returnsByRef(): bool
|
# |
public
|
getParams(): array
|
# |
public
|
getReturnType()
|
# |
public
|
getStmts()
|
# |
public
|
getAttrGroups(): array
|
# |
public
|
isPublic(): bool
|
# |
public
|
isProtected(): bool
|
# |
public
|
isPrivate(): bool
|
# |
public
|
isAbstract(): bool
|
# |
public
|
isFinal(): bool
|
# |
public
|
isStatic(): bool
|
# |
public
|
isMagic(): bool
|
# |
public
|
getType(): string
|
# |
| Properties | |||
|---|---|---|---|
public
|
int
|
$flags
|
# |
public
|
bool
|
$byRef
|
# |
public
|
Identifier
|
$name
|
# |
public
|
Param[]
|
$params
|
# |
public
|
null|Identifier|Name|ComplexType
|
$returnType
|
# |
public
|
Stmt[]|null
|
$stmts
|
# |
public
|
AttributeGroup[]
|
$attrGroups
|
# |
private
static
|
|
$magicNames = [
'__construct' => true,
'__destruct' => true,
'__call' => true,
'__callstatic' => true,
'__get' => true,
'__set' => true,
'__isset' => true,
'__unset' => true,
'__sleep' => true,
'__wakeup' => true,
'__tostring' => true,
'__set_state' => true,
'__clone' => true,
'__invoke' => true,
'__debuginfo' => true,
'__serialize' => true,
'__unserialize' => true,
]
|
# |
| Properties inherited from PhpParser\NodeAbstract |
|---|
$attributes |