MethodSpec
final class MethodSpec implements MethodSpecInterface
| internal | This class is not covered by the backward compatibility promise |
Specifies requirements on method including its name and modifiers.
Constants
| IS_STATIC |
|
| IS_PUBLIC |
|
| IS_PROTECTED |
|
| IS_PRIVATE |
|
| IS_ABSTRACT |
|
| IS_FINAL |
|
| ACCESS_MASK |
|
| NOT_PUBLIC |
|
| NOT_PROTECTED |
|
| NOT_PRIVATE |
|
| ACCESS_MAP |
|
Methods
__construct(string $name, bool|null $static = null, int|null $access = null, bool|null $abstract = null, bool|null $final = null)
No description
string
getName()
{@inheridoc}.
bool|null
getStatic()
{@inheridoc}.
int|null
getAccess()
{@inheridoc}.
bool|null
getAbstract()
{@inheridoc}.
bool|null
getFinal()
{@inheridoc}.
bool
string
toString()
{@inheridoc}.
Details
at line 61
__construct(string $name, bool|null $static = null, int|null $access = null, bool|null $abstract = null, bool|null $final = null)
No description
at line 72
string
getName()
{@inheridoc}.
at line 80
bool|null
getStatic()
{@inheridoc}.
at line 88
int|null
getAccess()
{@inheridoc}.
at line 96
bool|null
getAbstract()
{@inheridoc}.
at line 104
bool|null
getFinal()
{@inheridoc}.
at line 112
bool
matches(ReflectionMethod $method)
{@inheridoc}.
at line 124
string
toString()
{@inheridoc}.