public function SmsMessageResult::setReports in SMS Framework 2.1.x
Same name in this branch
- 2.1.x src/Message/SmsMessageResult.php \Drupal\sms\Message\SmsMessageResult::setReports()
- 2.1.x src/Entity/SmsMessageResult.php \Drupal\sms\Entity\SmsMessageResult::setReports()
Same name and namespace in other branches
- 8 src/Message/SmsMessageResult.php \Drupal\sms\Message\SmsMessageResult::setReports()
- 2.x src/Message/SmsMessageResult.php \Drupal\sms\Message\SmsMessageResult::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.
Overrides SmsMessageResultInterface::setReports
File
- src/
Message/ SmsMessageResult.php, line 105
Class
- SmsMessageResult
- The result of an SMS messaging transaction.
Namespace
Drupal\sms\MessageCode
public function setReports(array $reports) {
$this->reports = $reports;
return $this;
}