Method
final class Method
Class method.
Properties
string|null | $body |
Methods
string
__toString()
No description
string|null
getBody()
No description
bool
isStatic()
No description
bool
isFinal()
No description
setAbstract(bool $state = true)
No description
bool
isAbstract()
No description
addPromotedParameter(string $name, $defaultValue = null)
No description
void
validate()
No description
Details
at line 45
static Method
from(string|array $method)
No description
at line 51
string
__toString()
No description
at line 66
Method
setBody(string|null $code, array $args = null)
No description
at line 75
string|null
getBody()
No description
at line 82
Method
setStatic(bool $state = true)
No description
at line 89
bool
isStatic()
No description
at line 96
Method
setFinal(bool $state = true)
No description
at line 103
bool
isFinal()
No description
at line 110
Method
setAbstract(bool $state = true)
No description
at line 117
bool
isAbstract()
No description
at line 126
PromotedParameter
addPromotedParameter(string $name, $defaultValue = null)
No description
at line 137
void
validate()
No description