public static function getEnum()
    {
        $enumClass = get_called_class();

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

        return self::$ConstantsCache[$enumClass];
    }