doc-en
doc-en copied to clipboard
Attributes reflection documentation
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.
So far, there is only ReflectionAttribute::IS_INSTANCEOF. The meaning is explained in the RFC.
This seems to have been fixed. Please open a new issue if not.