src/Transformer/Factory.php
public function transform($response)
    {
        $binding = $this->getBinding($response);

        return $this->adapter->transform($response, $binding->resolveTransformer(), $binding, $this->getRequest());
    }
public function transform($response)
    {
        $binding = $this->getBinding($response);

        return $this->adapter->transform($response, $binding->resolveTransformer(), $binding, $this->getRequest());
    }
public function transform ( $ response ) { $ binding = $ this -> getBinding ( $ response ) ; return $ this -> adapter -> transform ( $ response , $ binding -> resolveTransformer ( ) , $ binding , $ this -> getRequest ( ) ) ; }
Transform a response.

@param string|object $response

@return mixed
Transform a response .