diff --git a/reference/reflection/reflectionconstant/getattributes.xml b/reference/reflection/reflectionconstant/getattributes.xml new file mode 100644 index 000000000000..fb90b045b78b --- /dev/null +++ b/reference/reflection/reflectionconstant/getattributes.xml @@ -0,0 +1,92 @@ + + + + + ReflectionConstant::getAttributes + Gets Attributes + + + + &reftitle.description; + + public arrayReflectionConstant::getAttributes + stringnullname&null; + intflags0 + + + Returns all attributes declared on this global constant as an array of ReflectionAttribute. + + + + + &reftitle.parameters; + + &reflection.getattributes.param.name; + &reflection.getattributes.param.flags; + + + + + &reftitle.returnvalues; + + Array of attributes, as ReflectionAttribute objects. + + + + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 8.5.0 + + This method was introduced. + + + + + + + + + + &reftitle.seealso; + + + ReflectionClass::getAttributes + ReflectionClassConstant::getAttributes + ReflectionFunctionAbstract::getAttributes + ReflectionProperty::getAttributes + + + + + +