Parameter
class Parameter
Method parameter description.
Properties
mixed | $defaultValue |
Methods
static Parameter
setReference($state = true)
No description
bool
isReference()
No description
setTypeHint($hint)
No description
string|null
getTypeHint()
No description
setOptional($state = true)
No description
bool
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
at line 52
Parameter
setReference($state = true)
No description
at line 62
bool
isReference()
No description
at line 72
Parameter
setTypeHint($hint)
No description
at line 82
string|null
getTypeHint()
No description
at line 92
Parameter
setOptional($state = true)
No description
at line 103
bool
isOptional()
deprecated
deprecated
No description
at line 113
Parameter
setNullable($state = true)
No description
at line 123
bool
isNullable()
No description
at line 132
Parameter
setDefaultValue($val)
No description
at line 142
mixed
getDefaultValue()
No description
at line 151
bool
hasDefaultValue()
No description
Traits
SmartObject