ReflectionConstant
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.
string|false
getFileName()
No description
ReflectionExtension|null
getExtension()
No description
string|false
getExtensionName()
No description
array
getAttributes(string|null $name = null, int $flags = 0)
No description
Details
__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.
Please note that since PHP 8.0 this method is absent in this interface and inherits from the {\Stringable} parent.
string|false
getFileName()
Since: 8.5
No description
ReflectionExtension|null
getExtension()
Since: 8.5
No description
string|false
getExtensionName()
Since: 8.5
No description
array
getAttributes(string|null $name = null, int $flags = 0)
Since: 8.5
No description