class WithHeadMethodReflection implements MethodReflection

Describe the routing macro using its native signature and receiver-specific result.

Methods

__construct(ClassReflection $declaringClass, MethodReflection $signature, Type $returnType, bool $isStatic)

Create a routing macro method reflection.

string
getName()

Return the method name.

ClassReflection
getDeclaringClass()

Return the declaring class.

bool
isStatic()

Determine whether the method is static.

bool
isPrivate()

Determine whether the method is private.

bool
isPublic()

Determine whether the method is public.

string|null
getDocComment()

Return the method docblock.

ClassMemberReflection
getPrototype()

Return the method prototype.

array
getVariants()

Return the callable variants with the routing result type.

TrinaryLogic
isDeprecated()

Determine whether the method is deprecated.

string|null
getDeprecatedDescription()

Return the deprecation description.

TrinaryLogic
isFinal()

Determine whether the method is final.

TrinaryLogic
isInternal()

Determine whether the method is internal.

Type|null
getThrowType()

Return the declared throw type.

TrinaryLogic
hasSideEffects()

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.

Parameters

ClassReflection $declaringClass
MethodReflection $signature
Type $returnType
bool $isStatic

at line 35
string getName()

Return the method name.

Return Value

string

at line 43
ClassReflection getDeclaringClass()

Return the declaring class.

Return Value

ClassReflection

at line 51
bool isStatic()

Determine whether the method is static.

Return Value

bool

at line 59
bool isPrivate()

Determine whether the method is private.

Return Value

bool

at line 67
bool isPublic()

Determine whether the method is public.

Return Value

bool

at line 75
string|null getDocComment()

Return the method docblock.

Return Value

string|null

at line 83
ClassMemberReflection getPrototype()

Return the method prototype.

Return Value

ClassMemberReflection

at line 93
array getVariants()

Return the callable variants with the routing result type.

Return Value

array

at line 111
TrinaryLogic isDeprecated()

Determine whether the method is deprecated.

Return Value

TrinaryLogic

at line 119
string|null getDeprecatedDescription()

Return the deprecation description.

Return Value

string|null

at line 127
TrinaryLogic isFinal()

Determine whether the method is final.

Return Value

TrinaryLogic

at line 135
TrinaryLogic isInternal()

Determine whether the method is internal.

Return Value

TrinaryLogic

at line 143
Type|null getThrowType()

Return the declared throw type.

Return Value

Type|null

at line 151
TrinaryLogic hasSideEffects()

Determine whether the method has side effects.

Return Value

TrinaryLogic