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