final class AbortIfFunctionTypeSpecifyingExtension implements FunctionTypeSpecifyingExtension, TypeSpecifierAwareExtension

Properties

protected bool $negate
protected string $methodName

Methods

__construct(bool $negate, string $methodName)

No description

bool
isFunctionSupported(FunctionReflection $functionReflection, FuncCall $node, TypeSpecifierContext $context)

No description

SpecifiedTypes
specifyTypes(FunctionReflection $functionReflection, FuncCall $node, Scope $scope, TypeSpecifierContext $context)

No description

void
setTypeSpecifier(TypeSpecifier $typeSpecifier)

No description

Details

at line 27
__construct(bool $negate, string $methodName)

No description

Parameters

bool $negate
string $methodName

at line 33
bool isFunctionSupported(FunctionReflection $functionReflection, FuncCall $node, TypeSpecifierContext $context)

No description

Parameters

FunctionReflection $functionReflection
FuncCall $node
TypeSpecifierContext $context

Return Value

bool

at line 41
SpecifiedTypes specifyTypes(FunctionReflection $functionReflection, FuncCall $node, Scope $scope, TypeSpecifierContext $context)

No description

Parameters

FunctionReflection $functionReflection
FuncCall $node
Scope $scope
TypeSpecifierContext $context

Return Value

SpecifiedTypes

at line 56
void setTypeSpecifier(TypeSpecifier $typeSpecifier)

No description

Parameters

TypeSpecifier $typeSpecifier

Return Value

void