La classe ReflectionClassReflectionClass
&reftitle.intro;
La classe ReflectionClass rapporte des
informations sur une classe.
&reftitle.classsynopsis;
ReflectionClassimplementsReflector&Constants;publicconstintReflectionClass::IS_IMPLICIT_ABSTRACTpublicconstintReflectionClass::IS_EXPLICIT_ABSTRACTpublicconstintReflectionClass::IS_FINALpublicconstintReflectionClass::IS_READONLYpublicconstintReflectionClass::SKIP_INITIALIZATION_ON_SERIALIZEpublicconstintReflectionClass::SKIP_DESTRUCTOR&Properties;publicstringname&Methods;
&reftitle.properties;
name
Nom de la classe. En lecture seule, lance une
ReflectionException lors d'une tentative d'écriture.
ReflectionClass::SKIP_INITIALIZATION_ON_SERIALIZEint
Indique que serialize ne doit pas déclencher
l'initialisation d'un objet en chargement paresseux.
ReflectionClass::SKIP_DESTRUCTORint
Indique qu'un destructeur d'objet ne doit pas être appelé lors de sa réinitialisation en tant
qu'objet paresseux.
&reftitle.constants;
Modificateurs de ReflectionClassReflectionClass::IS_IMPLICIT_ABSTRACTint
Indique si la classe est
abstraite car elle contient des méthodes abstraites.
ReflectionClass::IS_EXPLICIT_ABSTRACTint
Indique si la classe est
abstraite en raison de sa définition.
ReflectionClass::IS_FINALint
Indique si la classe est finale.
ReflectionClass::IS_READONLYint
Indique si la classe est readonly.
&reftitle.changelog;
&Version;&Description;8.4.0
Les constantes de classe sont désormais typées.
8.0.0ReflectionClass::export a été supprimée.
&reference.reflection.entities.reflectionclass;