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