public function SmsGatewayPluginInterface::parseDeliveryReports in SMS Framework 8
Same name and namespace in other branches
- 2.x src/Plugin/SmsGatewayPluginInterface.php \Drupal\sms\Plugin\SmsGatewayPluginInterface::parseDeliveryReports()
- 2.1.x src/Plugin/SmsGatewayPluginInterface.php \Drupal\sms\Plugin\SmsGatewayPluginInterface::parseDeliveryReports()
Parses incoming delivery reports and returns the created delivery reports.
The request contains delivery reports pushed to the site in a format supplied by the gateway API. This method transforms the raw request into delivery report objects usable by SMS Framework.
Parameters
\Symfony\Component\HttpFoundation\Request $request: Request object containing the unprocessed delivery reports.
\Symfony\Component\HttpFoundation\Response $response: HTTP response to return to the server pushing the raw delivery reports.
Return value
\Drupal\sms\Message\SmsDeliveryReportInterface[] An array of delivery reports created from the request.
1 method overrides SmsGatewayPluginInterface::parseDeliveryReports()
- SmsGatewayPluginBase::parseDeliveryReports in src/
Plugin/ SmsGatewayPluginBase.php - Parses incoming delivery reports and returns the created delivery reports.
File
- src/
Plugin/ SmsGatewayPluginInterface.php, line 54
Class
- SmsGatewayPluginInterface
- Default implementation of SMS gateway plugin.
Namespace
Drupal\sms\PluginCode
public function parseDeliveryReports(Request $request, Response $response);