Queue extends Model
Table of Contents
- $in : int|null
- The number of messages handled by the base station
- $out : int|null
- The number of messages sent to back-end by the base station.
- from() : static
- Initializing a model from an array
- getIn() : int
- Getter for in
- getOut() : int
- Getter for out
- jsonSerialize() : array<string|int, mixed>
- setIn() : static
- Setter for in
- setOut() : static
- Setter for out
Properties
$in
The number of messages handled by the base station
protected
int|null
$in
= null
$out
The number of messages sent to back-end by the base station.
protected
int|null
$out
= null
A high difference between in and out values may suggest either connectivity problems with the back-end, or too many messages received at once by the station
Methods
from()
Initializing a model from an array
public
static from(array<string|int, mixed> $params) : static
Parameters
- $params : array<string|int, mixed>
-
Pass this parameter if you want to initial property value from an array. See API reference for all property names and types
Tags
Return values
static —getIn()
Getter for in
public
getIn() : int
Return values
int —The number of messages handled by the base station
getOut()
Getter for out
public
getOut() : int
Return values
int —The number of messages sent to back-end by the base station. A high difference between in and out values may suggest either connectivity problems with the back-end, or too many messages received at once by the station
jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —setIn()
Setter for in
public
setIn(int $in) : static
Parameters
- $in : int
-
The number of messages handled by the base station
Return values
static —To use in method chains
setOut()
Setter for out
public
setOut(int $out) : static
Parameters
- $out : int
-
The number of messages sent to back-end by the base station. A high difference between in and out values may suggest either connectivity problems with the back-end, or too many messages received at once by the station
Return values
static —To use in method chains