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