PHP 클래스 LaravelFCM\Response\BaseResponse

파일 보기 프로젝트 열기: brozot/laravel-fcm 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Response $response ) BaseResponse constructor.

보호된 메소드들

메소드 설명
logResponse ( ) Log the response
parseResponse ( array $responseInJson ) parse the response

비공개 메소드들

메소드 설명
isJsonResponse ( Response $response ) Check if the response given by fcm is parsable

메소드 상세

__construct() 공개 메소드

BaseResponse constructor.
public __construct ( Response $response )
$response GuzzleHttp\Psr7\Response

logResponse() 추상적인 보호된 메소드

Log the response
abstract protected logResponse ( )

parseResponse() 추상적인 보호된 메소드

parse the response
abstract protected parseResponse ( array $responseInJson )
$responseInJson array