PHP - Manual: ReflectionProperty::getAttributes
2024-12-22
(PHP 8)
ReflectionProperty::getAttributes — Gets Attributes
$name
= null
, int $flags
= 0): arrayReturns all attributes declared on this class property as an array of ReflectionAttribute.
本函数还未编写文档,仅有参数列表。
name
flags
Array of attributes, as a ReflectionAttribute object.
官方地址:https://www.php.net/manual/en/reflectionproperty.getattributes.php