public function DeliveryReportController::__construct in SMS Framework 8
Same name and namespace in other branches
- 2.x src/DeliveryReportController.php \Drupal\sms\DeliveryReportController::__construct()
- 2.1.x src/DeliveryReportController.php \Drupal\sms\DeliveryReportController::__construct()
Creates an new delivery report controller.
Parameters
\Drupal\sms\Provider\SmsProviderInterface $sms_provider: The SMS service provider.
File
- src/
DeliveryReportController.php, line 36
Class
- DeliveryReportController
- Provides delivery reports acknowledgement and passes to the correct gateway.
Namespace
Drupal\smsCode
public function __construct(SmsProviderInterface $sms_provider) {
$this->smsProvider = $sms_provider;
}