Parameter
class Parameter
Definition of a function/method parameter.
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(mixed $val)
No description
mixed
getDefaultValue()
No description
bool
hasDefaultValue()
No description
void
validate()
No description
Details
at line 35
Parameter
setReference(bool $state = true)
No description
at line 42
bool
isReference()
No description
at line 48
Parameter
setType(string|null $type)
No description
at line 56
Type|string|null
getType(bool $asObject = false)
No description
at line 65
Parameter
setTypeHint(string|null $type)
deprecated
deprecated
No description
at line 73
string|null
getTypeHint()
deprecated
deprecated
No description
at line 80
Parameter
setNullable(bool $state = true)
No description
at line 87
bool
isNullable()
No description
at line 93
Parameter
setDefaultValue(mixed $val)
No description
at line 101
mixed
getDefaultValue()
No description
at line 107
bool
hasDefaultValue()
No description
at line 113
void
validate()
No description