MacroMethodsClassReflectionExtension
class MacroMethodsClassReflectionExtension implements MethodsClassReflectionExtension
Methods
__construct(ReflectionProvider $reflectionProvider, ClosureTypeFactory $closureTypeFactory, WithHeadExtension $withHeadExtension, AuthGuardHelper $authGuardHelper, RuntimeInputs $runtimeInputs)
Create a macro methods extension.
bool
hasMethod(ClassReflection $classReflection, string $methodName)
Determine whether a macro registered for the class types the method.
MethodReflection
getMethod(ClassReflection $classReflection, string $methodName)
Get the macro found for the class.
Type|null
getThrowType(ClassReflection $classReflection, string $methodName)
Get the exception type of the macro registered for the class's method.
Details
at line 57
__construct(ReflectionProvider $reflectionProvider, ClosureTypeFactory $closureTypeFactory, WithHeadExtension $withHeadExtension, AuthGuardHelper $authGuardHelper, RuntimeInputs $runtimeInputs)
Create a macro methods extension.
at line 69
bool
hasMethod(ClassReflection $classReflection, string $methodName)
Determine whether a macro registered for the class types the method.
at line 86
MethodReflection
getMethod(ClassReflection $classReflection, string $methodName)
Get the macro found for the class.
at line 100
Type|null
getThrowType(ClassReflection $classReflection, string $methodName)
Get the exception type of the macro registered for the class's method.