ForwardedFluentMethodReflection
class ForwardedFluentMethodReflection extends ForwardedMethodReflection
Describe a forwarded fluent method whose runtime result is the receiving object.
Methods
Create a forwarded fluent method reflection.
Return the method of the object that handles the call.
Return the callable variants with the receiving object as their result.
Determine whether the method is deprecated.
Return the deprecation description.
Determine whether the method has side effects.
Details
at line 26
__construct(ClassReflection $declaringClass, MethodReflection $forwardedMethod, bool $mayReturnForwardedResult = false)
Create a forwarded fluent method reflection.
in
ForwardedMethodReflection at line 39
string
getName()
Return the method name.
in
ForwardedMethodReflection at line 47
ClassReflection
getDeclaringClass()
Return the declaring class.
in
ForwardedMethodReflection at line 55
MethodReflection
getForwardedMethod()
Return the method of the object that handles the call.
in
ForwardedMethodReflection at line 63
bool
isStatic()
Determine whether the method is static.
in
ForwardedMethodReflection at line 73
bool
isPrivate()
Determine whether the method is private.
in
ForwardedMethodReflection at line 81
bool
isPublic()
Determine whether the method is public.
in
ForwardedMethodReflection at line 89
string|null
getDocComment()
Return the method docblock.
in
ForwardedMethodReflection at line 97
ClassMemberReflection
getPrototype()
Return the method prototype.
at line 39
array
getVariants()
Return the callable variants with the receiving object as their result.
in
ForwardedMethodReflection at line 131
TrinaryLogic
isDeprecated()
Determine whether the method is deprecated.
in
ForwardedMethodReflection at line 139
string|null
getDeprecatedDescription()
Return the deprecation description.
in
ForwardedMethodReflection at line 147
TrinaryLogic
isFinal()
Determine whether the method is final.
in
ForwardedMethodReflection at line 155
TrinaryLogic
isInternal()
Determine whether the method is internal.
in
ForwardedMethodReflection at line 163
Type|null
getThrowType()
Return the declared throw type.
in
ForwardedMethodReflection at line 171
TrinaryLogic
hasSideEffects()
Determine whether the method has side effects.