doc-en icon indicating copy to clipboard operation
doc-en copied to clipboard

Attributes reflection documentation

Open enumag opened this issue 3 years ago • 1 comments

I'd like to start using Attributes but it seems the documentation for ReflectionAttribute and related methods is unfinished.

For instance ReflectionClass::getAttributes() has a flags parameter with unknown purpose and values. A comment mentions a ReflectionAttribute::IS_INSTANCEOF constant which is not documented on the ReflectionAttribute class documentation. I assume there are more missing constants for this flag.

enumag avatar Apr 08 '22 12:04 enumag

So far, there is only ReflectionAttribute::IS_INSTANCEOF. The meaning is explained in the RFC.

cmb69 avatar Apr 08 '22 12:04 cmb69

This seems to have been fixed. Please open a new issue if not.

Girgias avatar Jul 25 '23 15:07 Girgias