update 1.0.8.0
Commits for version update
This commit is contained in:
31
vendor/brozot/laravel-fcm/src/Response/TopicResponseContract.php
vendored
Normal file
31
vendor/brozot/laravel-fcm/src/Response/TopicResponseContract.php
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php namespace LaravelFCM\Response;
|
||||
|
||||
/**
|
||||
* Interface TopicResponseContract
|
||||
*
|
||||
* @package LaravelFCM\Response
|
||||
*/
|
||||
interface TopicResponseContract {
|
||||
|
||||
/**
|
||||
* true if topic sent with success
|
||||
* @return bool
|
||||
*/
|
||||
public function isSuccess();
|
||||
|
||||
/**
|
||||
* return error message
|
||||
* you should test if it's necessary to resent it
|
||||
*
|
||||
* @return string error
|
||||
*/
|
||||
public function error();
|
||||
|
||||
/**
|
||||
* return true if it's necessary resent it using exponential backoff
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function shouldRetry();
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user