You are here

public function FirebaseServiceBase::__wakeup in Firebase Push Notification (FCM) 8

Same name and namespace in other branches
  1. 3.0.x src/Service/FirebaseServiceBase.php \Drupal\firebase\Service\FirebaseServiceBase::__wakeup()

File

src/Service/FirebaseServiceBase.php, line 169

Class

FirebaseServiceBase
Provides a base class for service, working with FCM.

Namespace

Drupal\firebase\Service

Code

public function __wakeup() {
  $this
    ->wakeup();

  // Initialize static cache.
  $this->key = '';
  $this->endpoint = '';
  $this->body = [];
}