PushWorker
FinalYes
Table of Contents
Methods
- __construct() : mixed
- send() : void
- sendLast() : mixed
- subscribe() : void
Methods
__construct()
public
__construct() : mixed
send()
public
send(string $command, array<string|int, mixed> $params[, array<string|int, mixed> $userIds = [] ]) : void
Parameters
- $command : string
- $params : array<string|int, mixed>
- $userIds : array<string|int, mixed> = []
sendLast()
public
sendLast(string $tag, string $command, array<string|int, mixed> $params[, array<string|int, mixed> $userIds = [] ]) : mixed
Parameters
- $tag : string
- $command : string
- $params : array<string|int, mixed>
- $userIds : array<string|int, mixed> = []
subscribe()
public
subscribe(int $userId, string $command) : void
Parameters
- $userId : int
- $command : string