MethodSpecInterface
interface MethodSpecInterface
| internal | This interface is not covered by the backward compatibility promise |
Specifies requirements on method including its name and modifiers.
Methods
string
getName()
Returns the name of the method being specified.
bool|null
getStatic()
Returns specification of static modifier.
int|null
getAccess()
Returns specification of methods visibility.
bool|null
getAbstract()
Returns specification of abstract modifier.
bool|null
getFinal()
Returns specification of final modifier.
bool
string
toString()
Method specification in human readable form.
Details
at line 25
string
getName()
Returns the name of the method being specified.
at line 32
bool|null
getStatic()
Returns specification of static modifier.
at line 42
int|null
getAccess()
Returns specification of methods visibility.
at line 49
bool|null
getAbstract()
Returns specification of abstract modifier.
at line 56
bool|null
getFinal()
Returns specification of final modifier.
at line 61
bool
matches(ReflectionMethod $method)
Returns true, if $method fulfills all requirements.
at line 66
string
toString()
Method specification in human readable form.