|
The ReflectionClassConstant classIntroductionThe ReflectionClassConstant class reports information about a class constant. Class synopsis
ReflectionClassConstant
implements
Reflector
/* Constants */
public
const
int
ReflectionClassConstant::IS_PUBLIC;
public
const
int
ReflectionClassConstant::IS_PROTECTED;
public
const
int
ReflectionClassConstant::IS_PRIVATE;
public
const
int
ReflectionClassConstant::IS_FINAL;
/* Properties */
public
string
$name;
public
string
$class;
/* Methods */
public __construct(objectstring
$class , string $constant )public static string export(mixed
$class , string $name , bool $return = ?)public array getAttributes(stringnull
$name = null , int $flags = 0)public ReflectionClass getDeclaringClass()
public stringfalse getDocComment()
public int getModifiers()
public string getName()
public mixed getValue()
public bool isEnumCase()
public bool isFinal()
public bool isPrivate()
public bool isProtected()
public bool isPublic()
public string __toString()
Properties
Predefined ConstantsReflectionClassConstant Modifiers
Changelog
|