Класс ReflectionClassConstantReflectionClassConstant
&reftitle.intro;
Класс ReflectionClassConstant используется
для получения информации о константах класса.
&reftitle.classsynopsis;
ReflectionClassConstantReflectionClassConstantReflector&Constants;constintReflectionClassConstant::IS_PUBLICconstintReflectionClassConstant::IS_PROTECTEDconstintReflectionClassConstant::IS_PRIVATE&Properties;publicnamepublicclass&Methods;
&reftitle.properties;
name
Имя константы класса. Только чтение. В случае попытки изменения
выбрасывает исключение ReflectionException.
class
Имя класса, в котором определена константа. Только чтение.
В случае попытки изменения выбрасывает исключение
ReflectionException.
&reftitle.constants;
ReflectionClassConstant ModifiersReflectionClassConstant::IS_PUBLIC
Indicates public
constants.
ReflectionClassConstant::IS_PROTECTED
Indicates protected
constants.
ReflectionClassConstant::IS_PRIVATE
Indicates private
constants.
&reference.reflection.entities.reflectionclassconstant;