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 98
__construct(string $name, bool|null $static = null, int|null $access = null, bool|null $abstract = null, bool|null $final = null)
No description
at line 115
string
getName()
{@inheridoc}.
at line 123
bool|null
getStatic()
{@inheridoc}.
at line 131
int|null
getAccess()
{@inheridoc}.
at line 139
bool|null
getAbstract()
{@inheridoc}.
at line 147
bool|null
getFinal()
{@inheridoc}.
at line 155
bool
matches(ReflectionMethod $method)
{@inheridoc}.
at line 167
string
toString()
{@inheridoc}.