PushService
Table of Contents
Constants
-
MODULE_NAME
= 'stafftrack'
Methods
-
send()
: void
-
sendByTag()
: void
-
subscribeToTag()
: void
MODULE_NAME
public
mixed
MODULE_NAME
= 'stafftrack'
send()
public
static send(int $userId, PushCommand $command, array<string|int, mixed> $params) : void
Parameters
-
$userId
: int
-
-
$command
: PushCommand
-
-
$params
: array<string|int, mixed>
-
sendByTag()
public
static sendByTag(string $tag, PushCommand $command, array<string|int, mixed> $params) : void
Parameters
-
$tag
: string
-
-
$command
: PushCommand
-
-
$params
: array<string|int, mixed>
-
subscribeToTag()
public
static subscribeToTag(string $tag) : void
Parameters
-
$tag
: string
-