WithHeadMethodReflection
class WithHeadMethodReflection implements MethodReflection
Describe the routing macro using its native signature and receiver-specific result.
Methods
Create a routing macro method reflection.
Return the method name.
Return the declaring class.
Determine whether the method is static.
Determine whether the method is private.
Determine whether the method is public.
Return the method docblock.
Return the method prototype.
Return the callable variants with the routing result type.
Determine whether the method is deprecated.
Return the deprecation description.
Determine whether the method is final.
Determine whether the method is internal.
Return the declared throw type.
Determine whether the method has side effects.
Details
at line 24
__construct(ClassReflection $declaringClass, MethodReflection $signature, Type $returnType, bool $isStatic)
Create a routing macro method reflection.
at line 35
string
getName()
Return the method name.
at line 43
ClassReflection
getDeclaringClass()
Return the declaring class.
at line 51
bool
isStatic()
Determine whether the method is static.
at line 59
bool
isPrivate()
Determine whether the method is private.
at line 67
bool
isPublic()
Determine whether the method is public.
at line 75
string|null
getDocComment()
Return the method docblock.
at line 83
ClassMemberReflection
getPrototype()
Return the method prototype.
at line 93
array
getVariants()
Return the callable variants with the routing result type.
at line 111
TrinaryLogic
isDeprecated()
Determine whether the method is deprecated.
at line 119
string|null
getDeprecatedDescription()
Return the deprecation description.
at line 127
TrinaryLogic
isFinal()
Determine whether the method is final.
at line 135
TrinaryLogic
isInternal()
Determine whether the method is internal.
at line 143
Type|null
getThrowType()
Return the declared throw type.
at line 151
TrinaryLogic
hasSideEffects()
Determine whether the method has side effects.