TaskRegistry
Table of Contents
Methods
- drop() : self
- get() : array<string|int, mixed>|null
- getInstance() : static
- getObject() : TaskObject|null
- isLoaded() : bool
- load() : $this
Methods
drop()
public
drop([int|null $taskId = null ]) : self
Parameters
- $taskId : int|null = null
Return values
selfget()
public
get(int $taskId[, bool $withRelations = false ]) : array<string|int, mixed>|null
Parameters
- $taskId : int
- $withRelations : bool = false
Return values
array<string|int, mixed>|nullgetInstance()
public
static getInstance() : static
Return values
staticgetObject()
public
getObject(int $taskId[, bool $withRelations = false ]) : TaskObject|null
Parameters
- $taskId : int
- $withRelations : bool = false
Return values
TaskObject|nullisLoaded()
public
isLoaded(int $taskId) : bool
Parameters
- $taskId : int
Return values
boolload()
public
load(int|array<string|int, mixed> $taskIds[, bool $withRelations = false ]) : $this
Parameters
- $taskIds : int|array<string|int, mixed>
- $withRelations : bool = false