update v1.0.7.9 R.C.
This is a Release Candidate. We are still testing.
This commit is contained in:
118
vendor/brozot/laravel-fcm/doc/LaravelFCM-Response-BaseResponse.md
vendored
Normal file
118
vendor/brozot/laravel-fcm/doc/LaravelFCM-Response-BaseResponse.md
vendored
Normal file
@@ -0,0 +1,118 @@
|
||||
LaravelFCM\Response\BaseResponse
|
||||
===============
|
||||
|
||||
Class BaseResponse
|
||||
|
||||
|
||||
|
||||
|
||||
* Class name: BaseResponse
|
||||
* Namespace: LaravelFCM\Response
|
||||
* This is an **abstract** class
|
||||
|
||||
|
||||
|
||||
Constants
|
||||
----------
|
||||
|
||||
|
||||
### SUCCESS
|
||||
|
||||
const SUCCESS = 'success'
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### FAILURE
|
||||
|
||||
const FAILURE = 'failure'
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### ERROR
|
||||
|
||||
const ERROR = "error"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### MESSAGE_ID
|
||||
|
||||
const MESSAGE_ID = "message_id"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Methods
|
||||
-------
|
||||
|
||||
|
||||
### __construct
|
||||
|
||||
mixed LaravelFCM\Response\BaseResponse::__construct(\GuzzleHttp\Psr7\Response $response)
|
||||
|
||||
BaseResponse constructor.
|
||||
|
||||
|
||||
|
||||
* Visibility: **public**
|
||||
|
||||
|
||||
#### Arguments
|
||||
* $response **GuzzleHttp\Psr7\Response**
|
||||
|
||||
|
||||
|
||||
### isJsonResponse
|
||||
|
||||
mixed LaravelFCM\Response\BaseResponse::isJsonResponse(\GuzzleHttp\Psr7\Response $response)
|
||||
|
||||
Check if the response given by fcm is parsable
|
||||
|
||||
|
||||
|
||||
* Visibility: **private**
|
||||
|
||||
|
||||
#### Arguments
|
||||
* $response **GuzzleHttp\Psr7\Response**
|
||||
|
||||
|
||||
|
||||
### parseResponse
|
||||
|
||||
mixed LaravelFCM\Response\BaseResponse::parseResponse(array $responseInJson)
|
||||
|
||||
parse the response
|
||||
|
||||
|
||||
|
||||
* Visibility: **protected**
|
||||
* This method is **abstract**.
|
||||
|
||||
|
||||
#### Arguments
|
||||
* $responseInJson **array**
|
||||
|
||||
|
||||
|
||||
### logResponse
|
||||
|
||||
mixed LaravelFCM\Response\BaseResponse::logResponse()
|
||||
|
||||
Log the response
|
||||
|
||||
|
||||
|
||||
* Visibility: **protected**
|
||||
* This method is **abstract**.
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user