ForwardedModelMethodReflection
class ForwardedModelMethodReflection implements MethodReflection
Describe a builder method forwarded through an Eloquent model.
Methods
Create a forwarded model 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 forwarded builder method variants.
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 22
__construct(ClassReflection $declaringClass, MethodReflection $forwardedMethod)
Create a forwarded model method reflection.
at line 31
string
getName()
Return the method name.
at line 39
ClassReflection
getDeclaringClass()
Return the declaring class.
at line 47
bool
isStatic()
Determine whether the method is static.
at line 55
bool
isPrivate()
Determine whether the method is private.
at line 63
bool
isPublic()
Determine whether the method is public.
at line 71
string|null
getDocComment()
Return the method docblock.
at line 79
ClassMemberReflection
getPrototype()
Return the method prototype.
at line 89
array
getVariants()
Return the forwarded builder method variants.
at line 97
TrinaryLogic
isDeprecated()
Determine whether the method is deprecated.
at line 105
string|null
getDeprecatedDescription()
Return the deprecation description.
at line 113
TrinaryLogic
isFinal()
Determine whether the method is final.
at line 121
TrinaryLogic
isInternal()
Determine whether the method is internal.
at line 129
Type|null
getThrowType()
Return the declared throw type.
at line 137
TrinaryLogic
hasSideEffects()
Determine whether the method has side effects.