You are here

public function SmsMessageResultInterface::getReport in SMS Framework 2.1.x

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

SmsMessageResultInterface::getReports()

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

File

src/Message/SmsMessageResultInterface.php, line 67

Class

SmsMessageResultInterface
Contains information on SMS message results.

Namespace

Drupal\sms\Message

Code

public function getReport($recipient);