class Parameter

Method parameter description.

Properties

mixed $defaultValue

Methods

static Parameter
from(ReflectionParameter $from) deprecated

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() deprecated

No description

setNullable($state = TRUE)

No description

bool
isNullable()

No description

setDefaultValue($val)

No description

mixed
getDefaultValue()

No description

bool
hasDefaultValue()

No description

Details

at line 43
static Parameter from(ReflectionParameter $from) deprecated

deprecated

No description

Parameters

ReflectionParameter $from

Return Value

Parameter

at line 52
__construct($name = '')

No description

Parameters

$name

at line 59
setName($name) deprecated

deprecated

No description

Parameters

$name

at line 69
string getName()

No description

Return Value

string

at line 79
Parameter setReference($state = TRUE)

No description

Parameters

$state

Return Value

Parameter

at line 89
bool isReference()

No description

Return Value

bool

at line 99
Parameter setTypeHint($hint)

No description

Parameters

$hint

Return Value

Parameter

at line 109
string|null getTypeHint()

No description

Return Value

string|null

at line 119
Parameter setOptional($state = TRUE)

No description

Parameters

$state

Return Value

Parameter

at line 130
bool isOptional() deprecated

deprecated use hasDefaultValue()

No description

Return Value

bool

at line 140
Parameter setNullable($state = TRUE)

No description

Parameters

$state

Return Value

Parameter

at line 150
bool isNullable()

No description

Return Value

bool

at line 159
Parameter setDefaultValue($val)

No description

Parameters

$val

Return Value

Parameter

at line 169
mixed getDefaultValue()

No description

Return Value

mixed

at line 178
bool hasDefaultValue()

No description

Return Value

bool

Traits

SmartObject