You are here

public function FirebaseServiceBase::resetService 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::resetService()

Reset body of service.

File

src/Service/FirebaseServiceBase.php, line 152

Class

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

Namespace

Drupal\firebase\Service

Code

public function resetService() {
  unset($this->body);
}