(PHP 8)
ReflectionClass::getAttributes — Gets Attributes
$name
= null
, int $flags
= 0): arrayReturns all attributes declared on this class as an array of ReflectionAttribute.
This function is currently not documented; only its argument list is available.
name
flags
Array of attributes, as a ReflectionAttribute object.