You are here

public function PushNotificationsMessageSenderList::__construct in Push Notifications 8

Constructor.

Parameters

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

Overrides PushNotificationsMessageSenderBase::__construct

File

src/PushNotificationsMessageSenderList.php, line 28
Contains \Drupal\push_notifications\PushNotificationsMessageSenderList.

Class

PushNotificationsMessageSenderList
Send a simple message alert to a list of tokens. Use this if you want to preopulate the list of tokens.

Namespace

Drupal\push_notifications

Code

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