class Parameter

Method parameter description.

Properties

mixed $defaultValue

Methods

static Parameter
from(ReflectionParameter $from) deprecated

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 41
static Parameter from(ReflectionParameter $from) deprecated

deprecated

No description

Parameters

ReflectionParameter $from

Return Value

Parameter

at line 52
Parameter setReference($state = true)

No description

Parameters

$state

Return Value

Parameter

at line 62
bool isReference()

No description

Return Value

bool

at line 72
Parameter setTypeHint($hint)

No description

Parameters

$hint

Return Value

Parameter

at line 82
string|null getTypeHint()

No description

Return Value

string|null

at line 92
Parameter setOptional($state = true)

No description

Parameters

$state

Return Value

Parameter

at line 103
bool isOptional() deprecated

deprecated use hasDefaultValue()

No description

Return Value

bool

at line 113
Parameter setNullable($state = true)

No description

Parameters

$state

Return Value

Parameter

at line 123
bool isNullable()

No description

Return Value

bool

at line 132
Parameter setDefaultValue($val)

No description

Parameters

$val

Return Value

Parameter

at line 142
mixed getDefaultValue()

No description

Return Value

mixed

at line 151
bool hasDefaultValue()

No description

Return Value

bool

Traits

SmartObject