Property | Type | Description | |
---|---|---|---|
$data | |||
$notification | |||
$options | |||
$to | string | array | ||
$topic |
Method | Description | |
---|---|---|
__construct ( $to, |
Request constructor. |
Method | Description | |
---|---|---|
buildBody ( ) : array | Build the body for the request | |
getData ( ) : array | null | get data transformed | |
getNotification ( ) : array | null | get notification transformed | |
getOptions ( ) : array | get Options transformed | |
getRegistrationIds ( ) : array | null | get registrationIds transformed | |
getTo ( ) : array | null | string | get to key transformed |
public __construct ( $to, |
||
$to | ||
$options | ||
$notification | ||
$data | ||
$topic |
protected getNotification ( ) : array | null | ||
return | array | null |
protected getRegistrationIds ( ) : array | null | ||
return | array | null |
protected PayloadData,LaravelFCM\Message $data | ||
return |
protected PayloadNotification,LaravelFCM\Message $notification | ||
return |
protected Options,LaravelFCM\Message $options | ||
return |
protected Topics,LaravelFCM\Message|null $topic | ||
return |