(PHP 8 >= 8.3.0)
ReflectionClassConstant::getType — Gets a class constant's type
Gets the associated type of a class constant.
Esta función no tiene parámetros.
Returns a ReflectionType object if a parameter type is
specified, null
otherwise.