Google extends BaseService
Table of Contents
Constants
- DEFAULT_EXPIRY = 14400
Methods
- __construct() : mixed
- getBatch() : string
- Returns the final batch for the Android's push notification
- getMessageInstance() : GoogleMessage
- Gets message instance
- shouldBeSent() : bool
Constants
DEFAULT_EXPIRY
public
mixed
DEFAULT_EXPIRY
= 14400
Methods
__construct()
public
__construct() : mixed
getBatch()
Returns the final batch for the Android's push notification
public
getBatch([array<string|int, mixed> $messages = [] ]) : string
Parameters
- $messages : array<string|int, mixed> = []
Return values
stringgetMessageInstance()
Gets message instance
public
getMessageInstance(mixed $token) : GoogleMessage
Parameters
- $token : mixed
Return values
GoogleMessageshouldBeSent()
public
static shouldBeSent(mixed $messageRowData) : bool
Parameters
- $messageRowData : mixed