Methods |
public
|
__construct(
ClassMethod $method,
list<ReturnStatement> $returnStatements,
list<Yield_|YieldFrom> $yieldStatements,
StatementResult $statementResult,
list<ExecutionEndNode> $executionEnds,
ImpurePoint[] $impurePoints,
ClassReflection $classReflection,
PhpMethodFromParserNodeReflection $methodReflection,
)
Creates a Node.
Parameters
$method |
Array of attributes
|
Overrides
|
#
|
public
|
getReturnStatements(): array
|
#
|
public
|
getStatementResult(): StatementResult
|
#
|
public
|
getExecutionEnds(): array
|
#
|
public
|
getImpurePoints(): array
|
#
|
public
|
returnsByRef(): bool
|
#
|
public
|
hasNativeReturnTypehint(): bool
|
#
|
public
|
getMethodName(): string
|
#
|
public
|
getYieldStatements(): array
|
#
|
public
|
getClassReflection(): ClassReflection
|
#
|
public
|
getMethodReflection(): PhpMethodFromParserNodeReflection
|
#
|
public
|
getStatements(): Stmt[]
|
#
|
public
|
isGenerator(): bool
|
#
|
public
|
getType(): string
Gets the type of the node.
Gets the type of the node.
Returns
Implements
|
#
|
public
|
getSubNodeNames(): string[]
Gets the names of the sub nodes.
Gets the names of the sub nodes.
Returns
Implements
|
#
|