You are here

public function DeliveryReportController::__construct in SMS Framework 2.x

Same name and namespace in other branches
  1. 8 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 38

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;
}