Queue
Table of Contents
Methods
- add() : void
- done() : void
- get() : array<string|int, mixed>
- getInstance() : mixed
- isInQueue() : bool
Methods
add()
public
add(int $userId, string $type, array<string|int, mixed> $tasks) : void
Parameters
- $userId : int
- $type : string
- $tasks : array<string|int, mixed>
Tags
done()
public
done() : void
Tags
get()
public
get(int $limit) : array<string|int, mixed>
Parameters
- $limit : int
Tags
Return values
array<string|int, mixed>getInstance()
public
static getInstance() : mixed
isInQueue()
public
static isInQueue(int $userId) : bool
Parameters
- $userId : int