You are here

public function PushNotificationsBroadcasterApns::getResults in Push Notifications 8

Get the results of a batch.

Overrides PushNotificationsBroadcasterInterface::getResults

File

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

Class

PushNotificationsBroadcasterApns
Broadcasts Android messages.

Namespace

Drupal\push_notifications

Code

public function getResults() {
  return array(
    'network' => PUSH_NOTIFICATIONS_NETWORK_ID_IOS,
    'payload' => $this->payload,
    'count_attempted' => $this->countAttempted,
    'count_success' => $this->countSuccess,
    'success' => $this->success,
  );
}