Parameter
final class Parameter
Method parameter description.
Properties
mixed | $defaultValue |
Methods
setReference(bool $state = true)
No description
bool
isReference()
No description
string|null
getType()
No description
string|null
setNullable(bool $state = true)
No description
bool
isNullable()
No description
setDefaultValue($val)
No description
getDefaultValue()
No description
bool
hasDefaultValue()
No description
Details
at line 42
Parameter
setReference(bool $state = true)
No description
at line 49
bool
isReference()
No description
at line 56
Parameter
setType(string|null $type)
No description
at line 63
string|null
getType()
No description
at line 70
Parameter
setTypeHint(string|null $type)
deprecated
deprecated
No description
at line 78
string|null
getTypeHint()
deprecated
deprecated
No description
at line 88
Parameter
setOptional(bool $state = true)
deprecated
deprecated
No description
at line 97
Parameter
setNullable(bool $state = true)
No description
at line 104
bool
isNullable()
No description
at line 111
Parameter
setDefaultValue($val)
No description
at line 119
getDefaultValue()
No description
at line 125
bool
hasDefaultValue()
No description
Traits
SmartObject