Parameter
class Parameter
Function/Method parameter description.
Properties
mixed | $defaultValue |
Methods
setReference(bool $state = true)
No description
bool
isReference()
No description
Type|string|null
getType(bool $asObject = false)
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
void
validate()
No description
Details
at line 44
Parameter
setReference(bool $state = true)
No description
at line 51
bool
isReference()
No description
at line 58
Parameter
setType(string|null $type)
No description
at line 68
Type|string|null
getType(bool $asObject = false)
No description
at line 77
Parameter
setTypeHint(string|null $type)
deprecated
deprecated
No description
at line 84
string|null
getTypeHint()
deprecated
deprecated
No description
at line 94
Parameter
setOptional(bool $state = true)
deprecated
deprecated
No description
at line 103
Parameter
setNullable(bool $state = true)
No description
at line 110
bool
isNullable()
No description
at line 117
Parameter
setDefaultValue($val)
No description
at line 125
getDefaultValue()
No description
at line 131
bool
hasDefaultValue()
No description
at line 137
void
validate()
No description