You are here

public function DeliveryReportController::__construct in SMS Framework 8

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

Code

public function __construct(SmsProviderInterface $sms_provider) {
  $this->smsProvider = $sms_provider;
}