final class Method

Definition of a class method.

Constants

Constructor

Methods

static Method
from(string|array|Closure $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, mixed $defaultValue = null)

No description

void
validate()

No description

void
__clone()

No description

Details

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

No description

Parameters

string|array|Closure $method

Return Value

Method

at line 39
string __toString()

No description

Return Value

string

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

No description

Parameters

bool $state

Return Value

Method

at line 52
bool isStatic()

No description

Return Value

bool

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

No description

Parameters

bool $state

Return Value

Method

at line 65
bool isFinal()

No description

Return Value

bool

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

No description

Parameters

bool $state

Return Value

Method

at line 78
bool isAbstract()

No description

Return Value

bool

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

No description

Parameters

string $name

without $

mixed $defaultValue

Return Value

PromotedParameter

at line 99
void validate()

No description

Return Value

void

Exceptions

InvalidStateException

at line 107
void __clone()

No description

Return Value

void

Traits