interface FirebaseServiceInterface in Firebase Push Notification (FCM) 8
Same name and namespace in other branches
- 3.0.x src/FirebaseServiceInterface.php \Drupal\firebase\FirebaseServiceInterface
Provides an interface for services, working with FCM.
Hierarchy
- interface \Drupal\firebase\FirebaseServiceInterface
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\firebaseView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FirebaseServiceInterface:: |
public | function | Build the header. | 1 |
FirebaseServiceInterface:: |
public | function | Send request to FCM. | 1 |