ReflectionParameter::getAttributes
(PHP 8)
ReflectionParameter::getAttributes — Gets Attributes
Description
$name
= null
, int $flags
= 0): arrayReturns all attributes declared on this parameter as an array of ReflectionAttribute.
This function is currently not documented; only its argument list is available.
Parameters
-
name
-
-
flags
-
Return Values
Array of attributes, as a ReflectionAttribute object.
See Also
- ReflectionClass::getAttributes() - Gets Attributes
- ReflectionClassConstant::getAttributes() - Gets Attributes
- ReflectionFunctionAbstract::getAttributes() - Gets Attributes
- ReflectionProperty::getAttributes() - Gets Attributes