You are here

public function Memory::getDeliveryReports in SMS Framework 2.1.x

Same name and namespace in other branches
  1. 8 tests/modules/sms_test_gateway/src/Plugin/SmsGateway/Memory.php \Drupal\sms_test_gateway\Plugin\SmsGateway\Memory::getDeliveryReports()
  2. 2.x tests/modules/sms_test_gateway/src/Plugin/SmsGateway/Memory.php \Drupal\sms_test_gateway\Plugin\SmsGateway\Memory::getDeliveryReports()

Gets delivery reports from the gateway.

Parameters

string[]|null $message_ids: A list of specific message ID's to pull, or NULL to get any reports which have not been requested previously.

Return value

\Drupal\sms\Message\SmsDeliveryReportInterface[] An array of the delivery reports which have been pulled.

Overrides SmsGatewayPluginBase::getDeliveryReports

File

tests/modules/sms_test_gateway/src/Plugin/SmsGateway/Memory.php, line 150

Class

Memory
Defines a gateway storing transmitted SMS in memory.

Namespace

Drupal\sms_test_gateway\Plugin\SmsGateway

Code

public function getDeliveryReports(array $message_ids = NULL) {
  return [];
}