class ReflectionConstant implements StringRepresentation (View source)

Class or free constant information

Methods

__construct(string $name, mixed $value = null, string $comment = '')

No description

string
__toString()

No description

string
getName()

Get constant name

mixed
getValue()

Get constant value

string
getDocComment()

No description

Details

__construct(string $name, mixed $value = null, string $comment = '')

Parameters

string $name Constant name
mixed $value Constante value
string $comment Constant documentation comment

string __toString()

Return Value

string The string representation of the class instance

string getName()

Get constant name

Return Value

string

mixed getValue()

Get constant value

Return Value

mixed

string getDocComment()

Return Value

string