You are here

FirebaseServiceInterface.php in Firebase Push Notification (FCM) 8

Same filename and directory in other branches
  1. 3.0.x src/FirebaseServiceInterface.php

Namespace

Drupal\firebase

File

src/FirebaseServiceInterface.php
View source
<?php

namespace Drupal\firebase;


/**
 * Provides an interface for services, working with FCM.
 */
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();

}

Interfaces

Namesort descending Description
FirebaseServiceInterface Provides an interface for services, working with FCM.