src/Graviton/ProxyBundle/Transformation/BodyMapping.php
public function transformResponse(Response $responseIn, Response $responseOut)
    {
        $responseOut->setContent(
            json_encode($this->transformer->transform($responseIn->getContent(), $this->mapping))
        );
    }
public function transformResponse(Response $responseIn, Response $responseOut)
    {
        $responseOut->setContent(
            json_encode($this->transformer->transform($responseIn->getContent(), $this->mapping))
        );
    }
public function transformResponse ( Response $ responseIn , Response $ responseOut ) { $ responseOut -> setContent ( json_encode ( $ this -> transformer -> transform ( $ responseIn -> getContent ( ) , $ this -> mapping ) ) ) ; }
Transforms a response

@param Response $responseIn  The original response object
@param Response $responseOut The response object to transform

@return void
Transforms a response