You are here

public function SmsMessageInterface::getReport in SMS Framework 8

Same name and namespace in other branches
  1. 2.x src/Message/SmsMessageInterface.php \Drupal\sms\Message\SmsMessageInterface::getReport()
  2. 2.1.x src/Message/SmsMessageInterface.php \Drupal\sms\Message\SmsMessageInterface::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.

See also

SmsMessageInterface::getReports()

2 methods override SmsMessageInterface::getReport()
SmsMessage::getReport in src/Message/SmsMessage.php
Gets the delivery report for a particular recipient.
SmsMessage::getReport in src/Entity/SmsMessage.php
Gets the delivery report for a particular recipient.

File

src/Message/SmsMessageInterface.php, line 294

Class

SmsMessageInterface
Contains information about an SMS message.

Namespace

Drupal\sms\Message

Code

public function getReport($recipient);