ReflectionParameter::isOptional
Checks if optional
Description
public bool ReflectionParameter::isOptional()
Parameters
This function has no parameters.
Return Values
true
if the parameter is optional, otherwise false
See Also
- ReflectionParameter::getName