final public static function values()
    {
        $class = get_called_class();

        if (!isset(self::$values[$class])) {
            self::$values[$class] = (new \ReflectionClass($class))->getConstants();
        }

        return self::$values[$class];
    }
final public static function values()
    {
        $class = get_called_class();

        if (!isset(self::$values[$class])) {
            self::$values[$class] = (new \ReflectionClass($class))->getConstants();
        }

        return self::$values[$class];
    }
final public static function values ( ) { $ class = get_called_class ( ) ; if ( ! isset ( self :: $ values [ $ class ] ) ) { self :: $ values [ $ class ] = ( new \ ReflectionClass ( $ class ) ) -> getConstants ( ) ; } return self :: $ values [ $ class ] ; }
Return the names and values of all the constants in the enum

@return array
Return the names and values of all the constants in the enum