Class MockGroupResponse Only use it for testing
- Class name: MockGroupResponse
- Namespace: LaravelFCM\Test\Mocks
- This class implements: LaravelFCM\Response\GroupResponseContract
mixed LaravelFCM\Test\Mocks\MockGroupResponse::setNumberSuccess($numberSuccess)
set number of success
- Visibility: public
- $numberSuccess mixed
integer LaravelFCM\Response\GroupResponseContract::numberSuccess()
Get the number of device reached with success
- Visibility: public
- This method is defined by LaravelFCM\Response\GroupResponseContract
mixed LaravelFCM\Test\Mocks\MockGroupResponse::setNumberFailure($numberFailures)
set number of failures
- Visibility: public
- $numberFailures mixed
integer LaravelFCM\Response\GroupResponseContract::numberFailure()
Get the number of device which thrown an error
- Visibility: public
- This method is defined by LaravelFCM\Response\GroupResponseContract
mixed LaravelFCM\Test\Mocks\MockGroupResponse::addTokenFailed($tokenFailed)
add a token to the failed list
- Visibility: public
- $tokenFailed mixed
array LaravelFCM\Response\GroupResponseContract::tokensFailed()
Get all token in group that fcm cannot reach
- Visibility: public
- This method is defined by LaravelFCM\Response\GroupResponseContract