original_string: protected function getHandler($response, $object)
      {
          $handler = null;
  
          switch ($this->format) {
          case 'json':
              $this->rawResponse = $response->json();
              $handler = new JsonResponseHandler($this->rawResponse, $object);
              break;
          case 'xml':
              $this->rawResponse = $response->xml();
              $handler = new XmlResponseHandler($this->rawResponse, $object);
              break;
          }
  
          return $handler;
      }
code: protected function getHandler($response, $object)
      {
          $handler = null;
  
          switch ($this->format) {
          case 'json':
              $this->rawResponse = $response->json();
              $handler = new JsonResponseHandler($this->rawResponse, $object);
              break;
          case 'xml':
              $this->rawResponse = $response->xml();
              $handler = new XmlResponseHandler($this->rawResponse, $object);
              break;
          }
  
          return $handler;
      }
code_tokens: protected function getHandler ( $ response , $ object ) { $ handler = null ; switch ( $ this -> format ) { case 'json' : $ this -> rawResponse = $ response -> json ( ) ; $ handler = new JsonResponseHandler ( $ this -> rawResponse , $ object ) ; break ; case 'xml' : $ this -> rawResponse = $ response -> xml ( ) ; $ handler = new XmlResponseHandler ( $ this -> rawResponse , $ object ) ; break ; } return $ handler ; }
docstring: Instantiate the appropriate Response document handler based on the
  format
  
  @param Guzzle\Http|Message|Response $response The Guzzle Response object
  @param string                       $object   The name of the pardot obj
  
  @access protected
  
  @return HGG\Pardot\AbstractResponseHanler
docstring_tokens: Instantiate the appropriate Response document handler based on the format