extends |
NodeAbstract |
---|---|
implements |
ReturnStatementsNode |
Methods | ||
---|---|---|
public
|
__construct(
Closure $closureExpr,
ReturnStatement[] $returnStatements,
array<int, Yield_|YieldFrom> $yieldStatements,
StatementResult $statementResult,
)
|
# |
public
|
getClosureExpr(): Closure
|
# |
public
|
hasNativeReturnTypehint(): bool
|
# |
public
|
getReturnStatements(): ReturnStatement[]
|
# |
public
|
getYieldStatements(): array<int, Yield_|YieldFrom>
|
# |
public
|
getStatementResult(): StatementResult
|
# |
public
|
returnsByRef(): bool
|
# |
public
|
getType(): string
|
# |
public
|
getSubNodeNames(): string[]
|
# |
Properties inherited from PhpParser\NodeAbstract |
---|
$attributes |