public function reverseTransform($value)
    {
        if ($value === null) {
            return null;
        }

        try {
            return $this->enumClass::get($value);
        } catch (InvalidValueException $exception) {
            throw new TransformationFailedException($exception->getMessage(), $exception->getCode(), $exception);
        }
    }