Queue extends Registry implements RestConvertible
Tags
Table of Contents
Interfaces
Methods
- filter() : $this
- getAny() : T|null
- getQueues() : self
- getRestEntityName() : string
- Returns the name of the entity that will be used in the rest response
- merge() : static
- toRestFormat() : array<string|int, mixed>|null
- Returns an array in JSON like format to return the entity as a rest response.
- unsetByKeys() : void
Methods
filter()
public
filter(callable $predicate) : $this
Parameters
- $predicate : callable
Return values
$thisgetAny()
public
getAny() : T|null
Return values
T|nullgetQueues()
public
static getQueues() : self
Return values
selfgetRestEntityName()
Returns the name of the entity that will be used in the rest response
public
static getRestEntityName() : string
Return values
stringmerge()
public
merge(Registry<string|int, T> $registry) : static
Parameters
- $registry : Registry<string|int, T>
Return values
statictoRestFormat()
Returns an array in JSON like format to return the entity as a rest response.
public
toRestFormat([array<string|int, mixed> $option = [] ]) : array<string|int, mixed>|null
Parameters
- $option : array<string|int, mixed> = []
Return values
array<string|int, mixed>|nullunsetByKeys()
public
unsetByKeys(array<string|int, mixed> $keys) : void
Parameters
- $keys : array<string|int, mixed>