(PHP 8)
ReflectionFunctionAbstract::getAttributes — Gets Attributes
$name
= null
, int $flags
= 0): array
Returns all attributes declared on this function or method as an array of ReflectionAttribute.
本函数还未编写文档,仅有参数列表。
name
flags
Array of attributes, as a ReflectionAttribute object.