PHP - Manual: ReflectionParameter::getAttributes
2024-11-13
(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.
官方地址:https://www.php.net/manual/en/reflectionparameter.getattributes.php