extends |
Stmt |
---|
Methods | ||
---|---|---|
public
|
__construct(
Expr $cond,
array{stmts?:Stmt[], elseifs?:ElseIf_[], else?:(Else_|null)} $subNodes = [],
array<string, mixed> $attributes = [],
)
|
# |
public
|
getSubNodeNames(): array
|
# |
public
|
getType(): string
|
# |
Properties | |||
---|---|---|---|
public
|
Expr
|
$cond
|
# |
public
|
Stmt[]
|
$stmts
|
# |
public
|
ElseIf_[]
|
$elseifs
|
# |
public
|
null|Else_
|
$else
|
# |
Properties inherited from PhpParser\NodeAbstract |
---|
$attributes |