class Method

Class method.

Properties

string|false $body

Methods

static Method
from($method)

No description

__construct($name)

No description

string
__toString()

No description

setBody($code, array $args = null)

No description

string|false
getBody()

No description

setStatic($state = true)

No description

bool
isStatic()

No description

setFinal($state = true)

No description

bool
isFinal()

No description

setAbstract($state = true)

No description

bool
isAbstract()

No description

Details

at line 40
static Method from($method)

No description

Parameters

$method

Return Value

Method

at line 54
__construct($name)

No description

Parameters

$name

at line 68
string __toString()

No description

Return Value

string

PHP code

at line 93
Method setBody($code, array $args = null)

No description

Parameters

$code
array $args

Return Value

Method

at line 103
string|false getBody()

No description

Return Value

string|false

at line 113
Method setStatic($state = true)

No description

Parameters

$state

Return Value

Method

at line 123
bool isStatic()

No description

Return Value

bool

at line 133
Method setFinal($state = true)

No description

Parameters

$state

Return Value

Method

at line 143
bool isFinal()

No description

Return Value

bool

at line 153
Method setAbstract($state = true)

No description

Parameters

$state

Return Value

Method

at line 163
bool isAbstract()

No description

Return Value

bool

Traits