Files
faveo/vendor/brozot/laravel-fcm/src/Response/TopicResponseContract.php
Manish Verma 126fbb0255 Laravel version update
Laravel version update
2018-08-06 18:55:45 +05:30

32 lines
552 B
PHP

<?php
namespace LaravelFCM\Response;
/**
* Interface TopicResponseContract.
*/
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();
}