You are here

public function PushNotificationsBroadcasterApns::setTokens in Push Notifications 8

Setter function for tokens.

Parameters

$tokens:

Overrides PushNotificationsBroadcasterInterface::setTokens

File

src/PushNotificationsBroadcasterApns.php, line 99
Contains \Drupal\push_notifications\PushNotificationsBroadcasterApns.

Class

PushNotificationsBroadcasterApns
Broadcasts Android messages.

Namespace

Drupal\push_notifications

Code

public function setTokens($tokens) {
  $this->tokens = $tokens;
}