original_string: public function append(Response $xResponse)
      {
          if(!$this->xResponse)
          {
              $this->xResponse = $xResponse;
          }
          elseif(get_class($this->xResponse) == get_class($xResponse))
          {
              if($this->xResponse != $xResponse)
              {
                  $this->xResponse->appendResponse($xResponse);
              }
          }
          else
          {
              $this->debug($this->trans('errors.mismatch.types', array('class' => get_class($xResponse))));
          }
      }
code: public function append(Response $xResponse)
      {
          if(!$this->xResponse)
          {
              $this->xResponse = $xResponse;
          }
          elseif(get_class($this->xResponse) == get_class($xResponse))
          {
              if($this->xResponse != $xResponse)
              {
                  $this->xResponse->appendResponse($xResponse);
              }
          }
          else
          {
              $this->debug($this->trans('errors.mismatch.types', array('class' => get_class($xResponse))));
          }
      }
code_tokens: public function append ( Response $ xResponse ) { if ( ! $ this -> xResponse ) { $ this -> xResponse = $ xResponse ; } elseif ( get_class ( $ this -> xResponse ) == get_class ( $ xResponse ) ) { if ( $ this -> xResponse != $ xResponse ) { $ this -> xResponse -> appendResponse ( $ xResponse ) ; } } else { $ this -> debug ( $ this -> trans ( 'errors.mismatch.types' , array ( 'class' => get_class ( $ xResponse ) ) ) ) ; } }
docstring: Append one response object onto the end of another
  
  You cannot append a given response onto the end of a response of different type.
  If no prior response has been appended, this response becomes the main response
  object to which other response objects will be appended.
  
  @param Response        $xResponse            The response object to be appended
  
  @return void
docstring_tokens: Append one response object onto the end of another