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.

Parameters

ReflectionProvider $reflectionProvider

at line 37
bool hasMethod(ClassReflection $classReflection, string $methodName)

Determine whether the class receives the withHead routing macro.

Parameters

ClassReflection $classReflection
string $methodName

Return Value

bool

at line 58
MethodReflection getMethod(ClassReflection $classReflection, string $methodName)

Reflect the macro signature with the receiving routing object's return type.

Parameters

ClassReflection $classReflection
string $methodName

Return Value

MethodReflection