extends |
ParametersAcceptor |
|---|
A ParametersAcceptor for callable types (closures, first-class callables). Extends ParametersAcceptor with information about side effects, exceptions, and other runtime behavior of callable values. This is what PHPStan knows about a closure or callable when it's passed as a parameter or stored in a variable. Implemented by ClosureType and used as the return type of Type::getCallableParametersAcceptors(). Provides:
| Methods | ||
|---|---|---|
public
|
getThrowPoints(): SimpleThrowPoint[]
|
# |
public
|
isPure(): TrinaryLogic
|
# |
public
|
acceptsNamedArguments(): TrinaryLogic
|
# |
public
|
getImpurePoints(): SimpleImpurePoint[]
|
# |
public
|
getInvalidateExpressions(): InvalidateExprNode[]
|
# |
public
|
getUsedVariables(): string[]
|
# |
public
|
mustUseReturnValue(): TrinaryLogic
|
# |
| Methods inherited from PHPStan\Reflection\ParametersAcceptor |
|---|
getTemplateTypeMap(), getResolvedTemplateTypeMap(), getParameters(), isVariadic(), getReturnType() |