class Method

Method or function description.

Properties

string $body

Methods

static Method
from($from)

No description

__construct($name = NULL)

No description

string
__toString()

No description

setName($name) deprecated

No description

string|null
getName()

No description

setParameters(array $val)

No description

getParameters()

No description

addParameter($name, $defaultValue = NULL)

No description

setUses(array $val)

No description

array
getUses()

No description

addUse($name)

No description

setBody($statement, array $args = NULL)

No description

string
getBody()

No description

addBody($statement, array $args = NULL)

No description

setStatic($val)

No description

bool
isStatic()

No description

setVisibility($val)

No description

string|null
getVisibility()

No description

setFinal($val)

No description

bool
isFinal()

No description

setAbstract($val)

No description

bool
isAbstract()

No description

setReturnReference($val)

No description

bool
getReturnReference()

No description

setVariadic($val)

No description

bool
isVariadic()

No description

setComment($val)

No description

string|null
getComment()

No description

addComment($val)

No description

setDocuments(array $s) deprecated

No description

getDocuments() deprecated

No description

addDocument($s) deprecated

No description

setNamespace(PhpNamespace $val = NULL)

No description

setReturnType($val)

No description

string|null
getReturnType()

No description

Details

at line 65
static Method from($from)

No description

Parameters

$from

Return Value

Method

at line 99
__construct($name = NULL)

No description

Parameters

$name

at line 108
string __toString()

No description

Return Value

string

PHP code

at line 142
setName($name) deprecated

deprecated

No description

Parameters

$name

at line 152
string|null getName()

No description

Return Value

string|null

at line 162
Method setParameters(array $val)

No description

Parameters

array $val

Return Value

Method

at line 178
Parameter[] getParameters()

No description

Return Value

Parameter[]

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

No description

Parameters

$name
$defaultValue

Return Value

Parameter

at line 201
Method setUses(array $val)

No description

Parameters

array $val

Return Value

Method

at line 211
array getUses()

No description

Return Value

array

at line 220
Parameter addUse($name)

No description

Parameters

$name

Return Value

Parameter

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

No description

Parameters

$statement
array $args

Return Value

Method

at line 239
string getBody()

No description

Return Value

string

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

No description

Parameters

$statement
array $args

Return Value

Method

at line 259
Method setStatic($val)

No description

Parameters

$val

Return Value

Method

at line 269
bool isStatic()

No description

Return Value

bool

at line 279
Method setVisibility($val)

No description

Parameters

$val

Return Value

Method

at line 292
string|null getVisibility()

No description

Return Value

string|null

at line 302
Method setFinal($val)

No description

Parameters

$val

Return Value

Method

at line 312
bool isFinal()

No description

Return Value

bool

at line 322
Method setAbstract($val)

No description

Parameters

$val

Return Value

Method

at line 332
bool isAbstract()

No description

Return Value

bool

at line 342
Method setReturnReference($val)

No description

Parameters

$val

Return Value

Method

at line 352
bool getReturnReference()

No description

Return Value

bool

at line 362
Method setVariadic($val)

No description

Parameters

$val

Return Value

Method

at line 372
bool isVariadic()

No description

Return Value

bool

at line 382
Method setComment($val)

No description

Parameters

$val

Return Value

Method

at line 392
string|null getComment()

No description

Return Value

string|null

at line 402
Method addComment($val)

No description

Parameters

$val

Return Value

Method

at line 410
setDocuments(array $s) deprecated

deprecated

No description

Parameters

array $s

at line 418
getDocuments() deprecated

deprecated

No description

at line 426
addDocument($s) deprecated

deprecated

No description

Parameters

$s

at line 436
Method setNamespace(PhpNamespace $val = NULL)

No description

Parameters

PhpNamespace $val

Return Value

Method

at line 447
Method setReturnType($val)

No description

Parameters

$val

Return Value

Method

at line 457
string|null getReturnType()

No description

Return Value

string|null

Traits

SmartObject