A classe ReflectionAttributeReflectionAttribute
&reftitle.intro;
A classe ReflectionAttribute fornece informações sobre
um Atributo.
&reftitle.classsynopsis;
ReflectionAttributeimplementsReflector&Constants;publicconstintReflectionAttribute::IS_INSTANCEOF&Properties;publicstringname&Methods;
&reftitle.properties;
name
O nome do atributo.
&reftitle.constants;
ReflectionAttribute FlagsReflectionAttribute::IS_INSTANCEOFint
Recupere atributos usando uma
verificação instanceof.
Os valores dessas constantes podem mudar entre as versões do PHP.
É recomendado sempre usar as constantes
e não confiar diretamente nos valores.
&reftitle.changelog;
&Version;&Description;8.4.0
Todas as constantes de classe agora são tipadas.
8.4.0
Adicionado ReflectionAttribute::$name.
&reference.reflection.entities.reflectionattribute;