getResponse() public method

Get the response which was received from the server.
public getResponse ( ) : string
return string
 /**
  * Invoked immediately following a response coming back.
  *
  * @param Swift_Events_ResponseEvent $evt
  */
 public function responseReceived(Swift_Events_ResponseEvent $evt)
 {
     $response = $evt->getResponse();
     $this->_logger->add(sprintf('<< %s', $response));
 }
 public function responseReceived(\Swift_Events_ResponseEvent $event)
 {
     $callback = $this->callback;
     $callback($event->getResponse()->getMessage(), $event->getResponse()->getBody());
 }
 /**
  * Invoked immediately following a response coming back.
  *
  * @param Swift_Events_ResponseEvent $evt
  */
 public function responseReceived(Swift_Events_ResponseEvent $evt)
 {
     $response = $evt->getResponse();
     $this->_in += strlen($response);
 }
 /**
  * Invoked immediately following a response coming back.
  *
  * @param \Swift_Events_ResponseEvent $evt
  */
 public function responseReceived(\Swift_Events_ResponseEvent $evt)
 {
     $level = $this->levels['responseReceived'];
     $response = $evt->getResponse();
     $this->log($level, sprintf("<< %s", $response));
 }