original_string: private function collectResponse(GuzzleRequestInterface $request)
      {
          $response = $request->getResponse();
          $body = $response->getBody(true);
  
          return array(
              'statusCode'   => $response->getStatusCode(),
              'reasonPhrase' => $response->getReasonPhrase(),
              'headers'      => $response->getHeaders(),
              'body'         => $body
          );
      }
code: private function collectResponse(GuzzleRequestInterface $request)
      {
          $response = $request->getResponse();
          $body = $response->getBody(true);
  
          return array(
              'statusCode'   => $response->getStatusCode(),
              'reasonPhrase' => $response->getReasonPhrase(),
              'headers'      => $response->getHeaders(),
              'body'         => $body
          );
      }
code_tokens: private function collectResponse ( GuzzleRequestInterface $ request ) { $ response = $ request -> getResponse ( ) ; $ body = $ response -> getBody ( true ) ; return array ( 'statusCode' => $ response -> getStatusCode ( ) , 'reasonPhrase' => $ response -> getReasonPhrase ( ) , 'headers' => $ response -> getHeaders ( ) , 'body' => $ body ) ; }
docstring: Collect & sanitize data about a Guzzle response
  
  @param Guzzle\Http\Message\RequestInterface $request
  
  @return array
docstring_tokens: Collect & sanitize data about a Guzzle response