class Parameter

Method parameter description.

Properties

mixed $defaultValue

Methods

static Parameter
from(ReflectionParameter $from)

No description

__construct($name = '')

No description

setName($name) deprecated

No description

string
getName()

No description

setReference($state = TRUE)

No description

bool
isReference()

No description

setTypeHint($hint)

No description

string|null
getTypeHint()

No description

setOptional($state = TRUE)

No description

bool
isOptional()

No description

setDefaultValue($val)

No description

mixed
getDefaultValue()

No description

Details

at line 39
static Parameter from(ReflectionParameter $from)

No description

Parameters

ReflectionParameter $from

Return Value

Parameter

at line 67
__construct($name = '')

No description

Parameters

$name

at line 74
setName($name) deprecated

deprecated

No description

Parameters

$name

at line 84
string getName()

No description

Return Value

string

at line 94
Parameter setReference($state = TRUE)

No description

Parameters

$state

Return Value

Parameter

at line 104
bool isReference()

No description

Return Value

bool

at line 114
Parameter setTypeHint($hint)

No description

Parameters

$hint

Return Value

Parameter

at line 124
string|null getTypeHint()

No description

Return Value

string|null

at line 134
Parameter setOptional($state = TRUE)

No description

Parameters

$state

Return Value

Parameter

at line 144
bool isOptional()

No description

Return Value

bool

at line 153
Parameter setDefaultValue($val)

No description

Parameters

$val

Return Value

Parameter

at line 163
mixed getDefaultValue()

No description

Return Value

mixed

Traits

SmartObject