WithHeadExtension
class WithHeadExtension implements MethodsClassReflectionExtension
Methods
__construct(ReflectionProvider $reflectionProvider)
Create the routing macro reflection extension.
bool
hasMethod(ClassReflection $classReflection, string $methodName)
Determine whether the class receives the withHead routing macro.
MethodReflection
getMethod(ClassReflection $classReflection, string $methodName)
Reflect the macro signature with the receiving routing object's return type.
Details
at line 30
__construct(ReflectionProvider $reflectionProvider)
Create the routing macro reflection extension.
at line 37
bool
hasMethod(ClassReflection $classReflection, string $methodName)
Determine whether the class receives the withHead routing macro.
at line 58
MethodReflection
getMethod(ClassReflection $classReflection, string $methodName)
Reflect the macro signature with the receiving routing object's return type.