public function SmsMessage::getReport in SMS Framework 8
Same name in this branch
- 8 src/Message/SmsMessage.php \Drupal\sms\Message\SmsMessage::getReport()
- 8 src/Entity/SmsMessage.php \Drupal\sms\Entity\SmsMessage::getReport()
Same name and namespace in other branches
- 2.x src/Message/SmsMessage.php \Drupal\sms\Message\SmsMessage::getReport()
- 2.1.x src/Message/SmsMessage.php \Drupal\sms\Message\SmsMessage::getReport()
Gets the delivery report for a particular recipient.
Parameters
string $recipient: The number of the recipient for which the report is to be retrieved.
Return value
\Drupal\sms\Message\SmsDeliveryReportInterface|null A delivery report object, or NULL if there is no report for the recipient.
Overrides SmsMessageInterface::getReport
See also
SmsMessageInterface::getReports()
File
- src/
Message/ SmsMessage.php, line 354
Class
- SmsMessage
- Basic implementation of an SMS message.
Namespace
Drupal\sms\MessageCode
public function getReport($recipient) {
return $this->result ? $this->result
->getReport($recipient) : NULL;
}