final class Method

Class method.

Properties

string|null $body

Methods

static Method
from(string|array $method)

No description

__construct(string $name)

No description

string
__toString()

No description

setBody(string|null $code, array $args = null)

No description

string|null
getBody()

No description

setStatic(bool $state = true)

No description

bool
isStatic()

No description

setFinal(bool $state = true)

No description

bool
isFinal()

No description

setAbstract(bool $state = true)

No description

bool
isAbstract()

No description

Details

at line 45
static Method from(string|array $method)

No description

Parameters

string|array $method

Return Value

Method

at line 51
__construct(string $name)

No description

Parameters

string $name

at line 60
string __toString()

No description

Return Value

string

at line 84
Method setBody(string|null $code, array $args = null)

No description

Parameters

string|null $code
array $args

Return Value

Method

at line 91
string|null getBody()

No description

Return Value

string|null

at line 100
Method setStatic(bool $state = true)

No description

Parameters

bool $state

Return Value

Method

at line 107
bool isStatic()

No description

Return Value

bool

at line 116
Method setFinal(bool $state = true)

No description

Parameters

bool $state

Return Value

Method

at line 123
bool isFinal()

No description

Return Value

bool

at line 132
Method setAbstract(bool $state = true)

No description

Parameters

bool $state

Return Value

Method

at line 139
bool isAbstract()

No description

Return Value

bool

Traits