ModelFactoryMethodsClassReflectionExtension
class ModelFactoryMethodsClassReflectionExtension implements MethodsClassReflectionExtension
Methods
Create the dynamic factory method reflection.
Determine whether the factory has a dynamic relationship or trashed method.
Get the dynamic factory method.
Get the class declaring the method.
Determine whether the method is static.
Determine whether the method is private.
Determine whether the method is public.
Get the method's doc comment.
Get the method name.
Get the method prototype.
Get the method's signatures.
Determine whether the method is deprecated.
Get the deprecation description.
Determine whether the method is final.
Determine whether the method is internal.
Get the type the method throws.
Determine whether the method has side effects.
Details
at line 93
__construct(ClassReflection $classReflection, string $methodName)
Create the dynamic factory method reflection.
at line 42
bool
hasMethod(ClassReflection $classReflection, string $methodName)
Determine whether the factory has a dynamic relationship or trashed method.
at line 85
MethodReflection
getMethod(ClassReflection $classReflection, string $methodName)
Get the dynamic factory method.
at line 100
ClassReflection
getDeclaringClass()
Get the class declaring the method.
at line 108
bool
isStatic()
Determine whether the method is static.
at line 116
bool
isPrivate()
Determine whether the method is private.
at line 124
bool
isPublic()
Determine whether the method is public.
at line 132
string|null
getDocComment()
Get the method's doc comment.
at line 140
string
getName()
Get the method name.
at line 148
ClassMemberReflection
getPrototype()
Get the method prototype.
at line 158
array
getVariants()
Get the method's signatures.
at line 199
TrinaryLogic
isDeprecated()
Determine whether the method is deprecated.
at line 207
string|null
getDeprecatedDescription()
Get the deprecation description.
at line 215
TrinaryLogic
isFinal()
Determine whether the method is final.
at line 223
TrinaryLogic
isInternal()
Determine whether the method is internal.
at line 231
Type|null
getThrowType()
Get the type the method throws.
at line 239
TrinaryLogic
hasSideEffects()
Determine whether the method has side effects.