public function SmsDeliveryReportEvent::setResponse in SMS Framework 8
Same name and namespace in other branches
- 2.x src/Event/SmsDeliveryReportEvent.php \Drupal\sms\Event\SmsDeliveryReportEvent::setResponse()
- 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\EventCode
public function setResponse(Response $response) {
$this->response = $response;
return $this;
}