(PHP 7 >= 7.1.0)
ReflectionClass::getReflectionConstant — Gets a ReflectionClassConstant for a class's constant
$name
) : ReflectionClassConstantGets a ReflectionClassConstant for a class's property.
name
The class constant name.
A ReflectionClassConstant.