public function setGuzzleResponse(ResponseInterface $response) { $this->guzzle_response = $response; $this->setResponse(new \Illuminate\Http\Response($response->getBody(), $response->getStatusCode(), $response->getHeaders())); }