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