class ModelFactoryMethodsClassReflectionExtension implements MethodsClassReflectionExtension

Methods

__construct(ClassReflection $classReflection, string $methodName)

Create the dynamic factory method reflection.

bool
hasMethod(ClassReflection $classReflection, string $methodName)

Determine whether the factory has a dynamic relationship or trashed method.

MethodReflection
getMethod(ClassReflection $classReflection, string $methodName)

Get the dynamic factory method.

ClassReflection
getDeclaringClass()

Get the class declaring the method.

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()

Get the method's doc comment.

string
getName()

Get the method name.

ClassMemberReflection
getPrototype()

Get the method prototype.

array
getVariants()

Get the method's signatures.

TrinaryLogic
isDeprecated()

Determine whether the method is deprecated.

string|null
getDeprecatedDescription()

Get the deprecation description.

TrinaryLogic
isFinal()

Determine whether the method is final.

TrinaryLogic
isInternal()

Determine whether the method is internal.

Type|null
getThrowType()

Get the type the method throws.

TrinaryLogic
hasSideEffects()

Determine whether the method has side effects.

Details

at line 93
__construct(ClassReflection $classReflection, string $methodName)

Create the dynamic factory method reflection.

Parameters

ClassReflection $classReflection
string $methodName

at line 42
bool hasMethod(ClassReflection $classReflection, string $methodName)

Determine whether the factory has a dynamic relationship or trashed method.

Parameters

ClassReflection $classReflection
string $methodName

Return Value

bool

at line 85
MethodReflection getMethod(ClassReflection $classReflection, string $methodName)

Get the dynamic factory method.

Parameters

ClassReflection $classReflection
string $methodName

Return Value

MethodReflection

at line 100
ClassReflection getDeclaringClass()

Get the class declaring the method.

Return Value

ClassReflection

at line 108
bool isStatic()

Determine whether the method is static.

Return Value

bool

at line 116
bool isPrivate()

Determine whether the method is private.

Return Value

bool

at line 124
bool isPublic()

Determine whether the method is public.

Return Value

bool

at line 132
string|null getDocComment()

Get the method's doc comment.

Return Value

string|null

at line 140
string getName()

Get the method name.

Return Value

string

at line 148
ClassMemberReflection getPrototype()

Get the method prototype.

Return Value

ClassMemberReflection

at line 158
array getVariants()

Get the method's signatures.

Return Value

array

at line 199
TrinaryLogic isDeprecated()

Determine whether the method is deprecated.

Return Value

TrinaryLogic

at line 207
string|null getDeprecatedDescription()

Get the deprecation description.

Return Value

string|null

at line 215
TrinaryLogic isFinal()

Determine whether the method is final.

Return Value

TrinaryLogic

at line 223
TrinaryLogic isInternal()

Determine whether the method is internal.

Return Value

TrinaryLogic

at line 231
Type|null getThrowType()

Get the type the method throws.

Return Value

Type|null

at line 239
TrinaryLogic hasSideEffects()

Determine whether the method has side effects.

Return Value

TrinaryLogic