final class Method

Class method.

Methods

static Method
from(string|array $method)

No description

string
__toString()

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

addPromotedParameter(string $name, $defaultValue = null)

No description

void
validate()

No description

Details

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

No description

Parameters

string|array $method

Return Value

Method

at line 40
string __toString()

No description

Return Value

string

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

No description

Parameters

bool $state

Return Value

Method

at line 53
bool isStatic()

No description

Return Value

bool

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

No description

Parameters

bool $state

Return Value

Method

at line 66
bool isFinal()

No description

Return Value

bool

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

No description

Parameters

bool $state

Return Value

Method

at line 79
bool isAbstract()

No description

Return Value

bool

at line 88
PromotedParameter addPromotedParameter(string $name, $defaultValue = null)

No description

Parameters

string $name

without $

$defaultValue

Return Value

PromotedParameter

at line 100
void validate()

No description

Return Value

void

Exceptions

InvalidStateException

Traits