You are here

interface FirebaseServiceInterface in Firebase Push Notification (FCM) 8

Same name and namespace in other branches
  1. 3.0.x src/FirebaseServiceInterface.php \Drupal\firebase\FirebaseServiceInterface

Provides an interface for services, working with FCM.

Hierarchy

Expanded class hierarchy of FirebaseServiceInterface

All classes that implement FirebaseServiceInterface

1 file declares its use of FirebaseServiceInterface
FirebaseServiceBase.php in src/Service/FirebaseServiceBase.php

File

src/FirebaseServiceInterface.php, line 8

Namespace

Drupal\firebase
View source
interface FirebaseServiceInterface {

  /**
   * Build the header.
   *
   * @return array
   *   Array with request header.
   */
  public function buildHeader();

  /**
   * Send request to FCM.
   *
   * @return bool|mixed
   *   Result of request.
   */
  public function send();

}

Members

Namesort descending Modifiers Type Description Overrides
FirebaseServiceInterface::buildHeader public function Build the header. 1
FirebaseServiceInterface::send public function Send request to FCM. 1