src/Clients/GuzzleClient.php
private function handle(Response $response)
    {
        $stream = stream_for($response->getBody());

        $data = json_decode($stream->getContents());

        return $data;
    }
private function handle(Response $response)
    {
        $stream = stream_for($response->getBody());

        $data = json_decode($stream->getContents());

        return $data;
    }
Handle the response.

@param \GuzzleHttp\Psr7\Response $response The response

@return array