class Method extends Object

Class method description.

Methods

static Method
from($from)

No description

addParameter($name, $defaultValue = NULL)

No description

addUse($name)

No description

setBody($statement, array $args = NULL)

No description

addBody($statement, array $args = NULL)

No description

string
__toString()

No description

setName(string $)

No description

string
getName()

No description

setParameters(Parameter[] $)

No description

Parameter[]
getParameters()

No description

setUses(array $)

No description

array
getUses()

No description

string
getBody()

No description

setStatic(bool $)

No description

bool
isStatic()

No description

setVisibility(string $)

No description

string
getVisibility()

No description

setFinal(bool $)

No description

bool
isFinal()

No description

setAbstract(bool $)

No description

bool
isAbstract()

No description

setReturnReference(bool $)

No description

bool
getReturnReference()

No description

setVariadic(bool $)

No description

bool
isVariadic()

No description

setDocuments(string[] $)

No description

string[]
getDocuments()

No description

addDocument(string $)

No description

Details

at line 78
static Method from($from)

No description

Parameters

$from

Return Value

Method

at line 99
Parameter addParameter($name, $defaultValue = NULL)

No description

Parameters

$name
$defaultValue

Return Value

Parameter

at line 110
Parameter addUse($name)

No description

Parameters

$name

Return Value

Parameter

at line 118
Method setBody($statement, array $args = NULL)

No description

Parameters

$statement
array $args

Return Value

Method

at line 126
Method addBody($statement, array $args = NULL)

No description

Parameters

$statement
array $args

Return Value

Method

at line 134
string __toString()

No description

Return Value

string

PHP code

at line 41
Method setName(string $)

No description

Parameters

string $

Return Value

Method

at line 41
string getName()

No description

Return Value

string

at line 41
Method setParameters(Parameter[] $)

No description

Parameters

Parameter[] $

Return Value

Method

at line 41
Parameter[] getParameters()

No description

Return Value

Parameter[]

at line 41
Method setUses(array $)

No description

Parameters

array $

Return Value

Method

at line 41
array getUses()

No description

Return Value

array

at line 41
string getBody()

No description

Return Value

string

at line 41
Method setStatic(bool $)

No description

Parameters

bool $

Return Value

Method

at line 41
bool isStatic()

No description

Return Value

bool

at line 41
Method setVisibility(string $)

No description

Parameters

string $

Return Value

Method

at line 41
string getVisibility()

No description

Return Value

string

at line 41
Method setFinal(bool $)

No description

Parameters

bool $

Return Value

Method

at line 41
bool isFinal()

No description

Return Value

bool

at line 41
Method setAbstract(bool $)

No description

Parameters

bool $

Return Value

Method

at line 41
bool isAbstract()

No description

Return Value

bool

at line 41
Method setReturnReference(bool $)

No description

Parameters

bool $

Return Value

Method

at line 41
bool getReturnReference()

No description

Return Value

bool

at line 41
Method setVariadic(bool $)

No description

Parameters

bool $

Return Value

Method

at line 41
bool isVariadic()

No description

Return Value

bool

at line 41
Method setDocuments(string[] $)

No description

Parameters

string[] $

Return Value

Method

at line 41
string[] getDocuments()

No description

Return Value

string[]

at line 41
Method addDocument(string $)

No description

Parameters

string $

Return Value

Method