private function normToModel($value)
    {
        try {
            $transformers = $this->config->getModelTransformers();

            for ($i = \count($transformers) - 1; $i >= 0; --$i) {
                $value = $transformers[$i]->reverseTransform($value);
            }
        } catch (TransformationFailedException $exception) {
            throw new TransformationFailedException('Unable to reverse value for property path "'.$this->getPropertyPath().'": '.$exception->getMessage(), $exception->getCode(), $exception, $exception->getInvalidMessage(), $exception->getInvalidMessageParameters());
        }

        return $value;
    }
private function normToModel($value)
    {
        try {
            $transformers = $this->config->getModelTransformers();

            for ($i = \count($transformers) - 1; $i >= 0; --$i) {
                $value = $transformers[$i]->reverseTransform($value);
            }
        } catch (TransformationFailedException $exception) {
            throw new TransformationFailedException('Unable to reverse value for property path "'.$this->getPropertyPath().'": '.$exception->getMessage(), $exception->getCode(), $exception, $exception->getInvalidMessage(), $exception->getInvalidMessageParameters());
        }

        return $value;
    }
private function normToModel ( $ value ) { try { $ transformers = $ this -> config -> getModelTransformers ( ) ; for ( $ i = \ count ( $ transformers ) - 1 ; $ i >= 0 ; -- $ i ) { $ value = $ transformers [ $ i ] -> reverseTransform ( $ value ) ; } } catch ( TransformationFailedException $ exception ) { throw new TransformationFailedException ( 'Unable to reverse value for property path "' . $ this -> getPropertyPath ( ) . '": ' . $ exception -> getMessage ( ) , $ exception -> getCode ( ) , $ exception , $ exception -> getInvalidMessage ( ) , $ exception -> getInvalidMessageParameters ( ) ) ; } return $ value ; }
Reverse transforms a value if a model transformer is set.

@param string $value The value to reverse transform

@return mixed

@throws TransformationFailedException If the value cannot be transformed to "model" format
Reverse transforms a value if a model transformer is set .