final class Parameter

Method parameter description.

Properties

mixed $defaultValue

Methods

setReference(bool $state = true)

No description

bool
isReference()

No description

setTypeHint(string|null $hint)

No description

string|null
getTypeHint()

No description

setOptional(bool $state = true) deprecated

No description

bool
isOptional() deprecated

No description

setNullable(bool $state = true)

No description

bool
isNullable()

No description

setDefaultValue($val)

No description

getDefaultValue()

No description

bool
hasDefaultValue()

No description

Details

at line 44
Parameter setReference(bool $state = true)

No description

Parameters

bool $state

Return Value

Parameter

at line 51
bool isReference()

No description

Return Value

bool

at line 61
Parameter setTypeHint(string|null $hint)

No description

Parameters

string|null $hint

Return Value

Parameter

at line 71
string|null getTypeHint()

No description

Return Value

string|null

at line 81
Parameter setOptional(bool $state = true) deprecated

deprecated just use setDefaultValue()

No description

Parameters

bool $state

Return Value

Parameter

at line 91
bool isOptional() deprecated

deprecated use hasDefaultValue()

No description

Return Value

bool

at line 101
Parameter setNullable(bool $state = true)

No description

Parameters

bool $state

Return Value

Parameter

at line 108
bool isNullable()

No description

Return Value

bool

at line 117
Parameter setDefaultValue($val)

No description

Parameters

$val

Return Value

Parameter

at line 125
getDefaultValue()

No description

at line 131
bool hasDefaultValue()

No description

Return Value

bool

Traits

SmartObject