DynamicWhereMethodReflection
class DynamicWhereMethodReflection implements MethodReflection
Methods
Create a new method reflection instance.
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 parameter name.
Get the method prototype.
Get the method's single variant, which accepts one value and returns the object.
Determine whether the parameter is optional.
Get the parameter type.
Determine how the parameter is passed.
Determine whether the parameter is variadic.
Get the parameter's default value.
Details
at line 24
__construct(ClassReflection $classReflection, string $methodName)
Create a new method reflection instance.
at line 31
ClassReflection
getDeclaringClass()
Get the class declaring the method.
at line 39
bool
isStatic()
Determine whether the method is static.
at line 47
bool
isPrivate()
Determine whether the method is private.
at line 55
bool
isPublic()
Determine whether the method is public.
at line 63
string|null
getDocComment()
Get the method's doc comment.
at line 100
string
getName()
Get the parameter name.
at line 79
ClassMemberReflection
getPrototype()
Get the method prototype.
at line 89
array
getVariants()
Get the method's single variant, which accepts one value and returns the object.
at line 108
bool
isOptional()
Determine whether the parameter is optional.
at line 116
Type
getType()
Get the parameter type.
at line 124
PassedByReference
passedByReference()
Determine how the parameter is passed.
at line 132
bool
isVariadic()
Determine whether the parameter is variadic.
at line 140
Type|null
getDefaultValue()
Get the parameter's default value.