public function reverseTransform($id)
    {
        if (!$id) {
            return null;
        }
        if (!$entity = $this->retrieve($id)) {
            throw new TransformationFailedException(sprintf(
                '%s#%s cannot be found.',
                $this->entityClass,
                $id
            ));
        }

        return $entity;
    }
public function reverseTransform($id)
    {
        if (!$id) {
            return null;
        }
        if (!$entity = $this->retrieve($id)) {
            throw new TransformationFailedException(sprintf(
                '%s#%s cannot be found.',
                $this->entityClass,
                $id
            ));
        }

        return $entity;
    }
public function reverseTransform ( $ id ) { if ( ! $ id ) { return null ; } if ( ! $ entity = $ this -> retrieve ( $ id ) ) { throw new TransformationFailedException ( sprintf ( '%s#%s cannot be found.' , $ this -> entityClass , $ id ) ) ; } return $ entity ; }
View -> Model

@see DataTransformerInterface::reverseTransform()
View - > Model