PregMatchTypeSpecifyingExtension
in package
implements
StaticMethodTypeSpecifyingExtension, TypeSpecifierAwareExtension
FinalYes
Table of Contents
Interfaces
- StaticMethodTypeSpecifyingExtension
- TypeSpecifierAwareExtension
Methods
- __construct() : mixed
- getClass() : string
- isStaticMethodSupported() : bool
- setTypeSpecifier() : void
- specifyTypes() : SpecifiedTypes
Methods
__construct()
public
__construct(RegexArrayShapeMatcher $regexShapeMatcher) : mixed
Parameters
- $regexShapeMatcher : RegexArrayShapeMatcher
getClass()
public
getClass() : string
Return values
stringisStaticMethodSupported()
public
isStaticMethodSupported(MethodReflection $methodReflection, StaticCall $node, TypeSpecifierContext $context) : bool
Parameters
- $methodReflection : MethodReflection
- $node : StaticCall
- $context : TypeSpecifierContext
Return values
boolsetTypeSpecifier()
public
setTypeSpecifier(TypeSpecifier $typeSpecifier) : void
Parameters
- $typeSpecifier : TypeSpecifier
specifyTypes()
public
specifyTypes(MethodReflection $methodReflection, StaticCall $node, Scope $scope, TypeSpecifierContext $context) : SpecifiedTypes
Parameters
- $methodReflection : MethodReflection
- $node : StaticCall
- $scope : Scope
- $context : TypeSpecifierContext