You are here

public function SmsDeliveryReportEvent::setResponse in SMS Framework 8

Same name and namespace in other branches
  1. 2.x src/Event/SmsDeliveryReportEvent.php \Drupal\sms\Event\SmsDeliveryReportEvent::setResponse()
  2. 2.1.x src/Event/SmsDeliveryReportEvent.php \Drupal\sms\Event\SmsDeliveryReportEvent::setResponse()

Set the response on this event.

Parameters

\Symfony\Component\HttpFoundation\Response $response: The response to set for this event.

Return value

$this Returns this event for chaining.

File

src/Event/SmsDeliveryReportEvent.php, line 48

Class

SmsDeliveryReportEvent
Handle a received delivery report.

Namespace

Drupal\sms\Event

Code

public function setResponse(Response $response) {
  $this->response = $response;
  return $this;
}