Since: 8.4

final class ReflectionConstant implements Reflector (View source)

Properties

string $name

Methods

__construct(string $name)

No description

string
getName()

No description

string
getNamespaceName()

No description

string
getShortName()

No description

mixed
getValue()

No description

bool
isDeprecated()

No description

string
__toString()

Returns the string representation of any Reflection object.

Details

__construct(string $name)

No description

Parameters

string $name

string getName()

No description

Return Value

string

string getNamespaceName()

No description

Return Value

string

string getShortName()

No description

Return Value

string

mixed getValue()

No description

Return Value

mixed

bool isDeprecated()

No description

Return Value

bool

string __toString()

Returns the string representation of any Reflection object.

Please note that since PHP 8.0 this method is absent in this interface and inherits from the {\Stringable} parent.

Return Value

string

Returns string representation of the object that implements this interface (and/or "__toString" magic method).