The ReflectionClass classReflectionClass
&reftitle.intro;
The ReflectionClass class reports
information about a class.
&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
Name of the class. Read-only, throws
ReflectionException in attempt to write.
&reftitle.constants;
ReflectionClass ModifiersReflectionClass::IS_IMPLICIT_ABSTRACTint
Indicates the class is
abstract because it has some abstract methods.
ReflectionClass::IS_EXPLICIT_ABSTRACTint
Indicates the class is
abstract because of its definition.
ReflectionClass::IS_FINALint
Indicates the class is final.
ReflectionClass::IS_READONLYint
Indicates the class is readonly.
ReflectionClass::SKIP_INITIALIZATION_ON_SERIALIZEint
Indicates that serialize should not trigger
initialization of a lazy object.
ReflectionClass::SKIP_DESTRUCTORint
Indicates an object destructor should not be called when resetting it as
lazy.
&reftitle.changelog;
&Version;&Description;8.4.0
The class constants are now typed.
8.0.0ReflectionClass::export was removed.
&reference.reflection.entities.reflectionclass;