You are here

public function PushNotificationsMessageSenderAccounts::__construct in Push Notifications 8

Constructor.

Parameters

\Drupal\push_notifications\PushNotificationsDispatcher $dispatcher: Alert Dispatcher.

Overrides PushNotificationsMessageSenderBase::__construct

File

src/PushNotificationsMessageSenderAccounts.php, line 27
Contains \Drupal\push_notifications\PushNotificationsMessageSenderAccounts.

Class

PushNotificationsMessageSenderAccounts
Send a simple message alert to a list of tokens..

Namespace

Drupal\push_notifications

Code

public function __construct(PushNotificationsDispatcher $dispatcher) {
  $this->dispatcher = $dispatcher;
}