class ForwardedModelMethodReflection implements MethodReflection

Describe a builder method forwarded through an Eloquent model.

Methods

__construct(ClassReflection $declaringClass, MethodReflection $forwardedMethod)

Create a forwarded model 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 forwarded builder method variants.

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 22
__construct(ClassReflection $declaringClass, MethodReflection $forwardedMethod)

Create a forwarded model method reflection.

Parameters

ClassReflection $declaringClass
MethodReflection $forwardedMethod

at line 31
string getName()

Return the method name.

Return Value

string

at line 39
ClassReflection getDeclaringClass()

Return the declaring class.

Return Value

ClassReflection

at line 47
bool isStatic()

Determine whether the method is static.

Return Value

bool

at line 55
bool isPrivate()

Determine whether the method is private.

Return Value

bool

at line 63
bool isPublic()

Determine whether the method is public.

Return Value

bool

at line 71
string|null getDocComment()

Return the method docblock.

Return Value

string|null

at line 79
ClassMemberReflection getPrototype()

Return the method prototype.

Return Value

ClassMemberReflection

at line 89
array getVariants()

Return the forwarded builder method variants.

Return Value

array

at line 97
TrinaryLogic isDeprecated()

Determine whether the method is deprecated.

Return Value

TrinaryLogic

at line 105
string|null getDeprecatedDescription()

Return the deprecation description.

Return Value

string|null

at line 113
TrinaryLogic isFinal()

Determine whether the method is final.

Return Value

TrinaryLogic

at line 121
TrinaryLogic isInternal()

Determine whether the method is internal.

Return Value

TrinaryLogic

at line 129
Type|null getThrowType()

Return the declared throw type.

Return Value

Type|null

at line 137
TrinaryLogic hasSideEffects()

Determine whether the method has side effects.

Return Value

TrinaryLogic