You are here

public function SmsMessageResultInterface::setReports in SMS Framework 2.x

Same name and namespace in other branches
  1. 8 src/Message/SmsMessageResultInterface.php \Drupal\sms\Message\SmsMessageResultInterface::setReports()
  2. 2.1.x src/Message/SmsMessageResultInterface.php \Drupal\sms\Message\SmsMessageResultInterface::setReports()

Sets the delivery reports for all recipients.

Parameters

\Drupal\sms\Message\SmsDeliveryReportInterface[] $reports: An array of delivery reports.

Return value

$this Returns this result object for chaining.

2 methods override SmsMessageResultInterface::setReports()
SmsMessageResult::setReports in src/Message/SmsMessageResult.php
Sets the delivery reports for all recipients.
SmsMessageResult::setReports in src/Entity/SmsMessageResult.php
Sets the delivery reports for all recipients.

File

src/Message/SmsMessageResultInterface.php, line 86

Class

SmsMessageResultInterface
Contains information on SMS message results.

Namespace

Drupal\sms\Message

Code

public function setReports(array $reports);