final public static function getValues(): array
    {
        if (isset(self::$cache[static::class])) {
            return self::$cache[static::class];
        }

        $rc = new \ReflectionClass(static::class);

        return self::$cache[static::class] = $rc->getConstants();
    }
final public static function getValues(): array
    {
        if (isset(self::$cache[static::class])) {
            return self::$cache[static::class];
        }

        $rc = new \ReflectionClass(static::class);

        return self::$cache[static::class] = $rc->getConstants();
    }
final public static function getValues ( ) : array { if ( isset ( self :: $ cache [ static :: class ] ) ) { return self :: $ cache [ static :: class ] ; } $ rc = new \ ReflectionClass ( static :: class ) ; return self :: $ cache [ static :: class ] = $ rc -> getConstants ( ) ; }
Returns the values.

@return string[]
Returns the values .