PregReplaceCallbackClosureTypeExtension
in package
implements
StaticMethodParameterClosureTypeExtension
FinalYes
Table of Contents
Interfaces
- StaticMethodParameterClosureTypeExtension
Methods
- __construct() : mixed
- getTypeFromStaticMethodCall() : Type|null
- isStaticMethodSupported() : bool
Methods
__construct()
public
__construct(RegexArrayShapeMatcher $regexShapeMatcher) : mixed
Parameters
- $regexShapeMatcher : RegexArrayShapeMatcher
getTypeFromStaticMethodCall()
public
getTypeFromStaticMethodCall(MethodReflection $methodReflection, StaticCall $methodCall, ParameterReflection $parameter, Scope $scope) : Type|null
Parameters
- $methodReflection : MethodReflection
- $methodCall : StaticCall
- $parameter : ParameterReflection
- $scope : Scope
Return values
Type|nullisStaticMethodSupported()
public
isStaticMethodSupported(MethodReflection $methodReflection, ParameterReflection $parameter) : bool
Parameters
- $methodReflection : MethodReflection
- $parameter : ParameterReflection