Parameter
class Parameter
Method parameter description.
Properties
mixed | $defaultValue |
Methods
static Parameter
__construct($name = '')
No description
string
getName()
No description
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 43
static Parameter
from(ReflectionParameter $from)
deprecated
deprecated
No description
at line 52
__construct($name = '')
No description
at line 59
setName($name)
deprecated
deprecated
No description
at line 69
string
getName()
No description
at line 79
Parameter
setReference($state = TRUE)
No description
at line 89
bool
isReference()
No description
at line 99
Parameter
setTypeHint($hint)
No description
at line 109
string|null
getTypeHint()
No description
at line 119
Parameter
setOptional($state = TRUE)
No description
at line 130
bool
isOptional()
deprecated
deprecated
No description
at line 140
Parameter
setNullable($state = TRUE)
No description
at line 150
bool
isNullable()
No description
at line 159
Parameter
setDefaultValue($val)
No description
at line 169
mixed
getDefaultValue()
No description
at line 178
bool
hasDefaultValue()
No description
Traits
SmartObject