class DynamicWhereMethodReflection implements MethodReflection

Methods

__construct(ClassReflection $classReflection, string $methodName)

Create a new method reflection instance.

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 parameter name.

ClassMemberReflection
getPrototype()

Get the method prototype.

array
getVariants()

Get the method's single variant, which accepts one value and returns the object.

bool
isOptional()

Determine whether the parameter is optional.

Type
getType()

Get the parameter type.

PassedByReference
passedByReference()

Determine how the parameter is passed.

bool
isVariadic()

Determine whether the parameter is variadic.

Type|null
getDefaultValue()

Get the parameter's default value.

Details

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

Create a new method reflection instance.

Parameters

ClassReflection $classReflection
string $methodName

at line 31
ClassReflection getDeclaringClass()

Get the class declaring the method.

Return Value

ClassReflection

at line 39
bool isStatic()

Determine whether the method is static.

Return Value

bool

at line 47
bool isPrivate()

Determine whether the method is private.

Return Value

bool

at line 55
bool isPublic()

Determine whether the method is public.

Return Value

bool

at line 63
string|null getDocComment()

Get the method's doc comment.

Return Value

string|null

at line 100
string getName()

Get the parameter name.

Return Value

string

at line 79
ClassMemberReflection getPrototype()

Get the method prototype.

Return Value

ClassMemberReflection

at line 89
array getVariants()

Get the method's single variant, which accepts one value and returns the object.

Return Value

array

at line 108
bool isOptional()

Determine whether the parameter is optional.

Return Value

bool

at line 116
Type getType()

Get the parameter type.

Return Value

Type

at line 124
PassedByReference passedByReference()

Determine how the parameter is passed.

Return Value

PassedByReference

at line 132
bool isVariadic()

Determine whether the parameter is variadic.

Return Value

bool

at line 140
Type|null getDefaultValue()

Get the parameter's default value.

Return Value

Type|null