TasksQuery
in package
uses
TasksQueryTrait
Table of Contents
Properties
- $afterEnqueuedAt : DateTimeInterface
- $afterFinishedAt : DateTimeInterface
- $afterStartedAt : DateTimeInterface
- $beforeEnqueuedAt : DateTimeInterface
- $beforeFinishedAt : DateTimeInterface
- $beforeStartedAt : DateTimeInterface
- $canceledBy : array<int, int>|null
- $from : int|null
- $indexUids : array<string|int, mixed>
- $limit : int|null
- $statuses : array<string|int, mixed>
- $types : array<string|int, mixed>
- $uids : array<string|int, mixed>
Methods
- getIndexUids() : array<string|int, mixed>
- setAfterEnqueuedAt() : $this
- setAfterFinishedAt() : $this
- setAfterStartedAt() : $this
- setBeforeEnqueuedAt() : $this
- setBeforeFinishedAt() : $this
- setBeforeStartedAt() : $this
- setCanceledBy() : $this
- setFrom() : $this
- setIndexUids() : $this
- setLimit() : $this
- setStatuses() : $this
- setTypes() : $this
- setUids() : $this
- toArray() : array<string|int, mixed>
- baseArray() : array<string|int, mixed>
- formatArray() : string|null
- formatDate() : string|null
Properties
$afterEnqueuedAt
private
DateTimeInterface
$afterEnqueuedAt
$afterFinishedAt
private
DateTimeInterface
$afterFinishedAt
$afterStartedAt
private
DateTimeInterface
$afterStartedAt
$beforeEnqueuedAt
private
DateTimeInterface
$beforeEnqueuedAt
$beforeFinishedAt
private
DateTimeInterface
$beforeFinishedAt
$beforeStartedAt
private
DateTimeInterface
$beforeStartedAt
$canceledBy
private
array<int, int>|null
$canceledBy
= null
$from
private
int|null
$from
= null
$indexUids
private
array<string|int, mixed>
$indexUids
$limit
private
int|null
$limit
= null
non-negative-int|null
$statuses
private
array<string|int, mixed>
$statuses
$types
private
array<string|int, mixed>
$types
$uids
private
array<string|int, mixed>
$uids
Methods
getIndexUids()
public
getIndexUids() : array<string|int, mixed>
Return values
array<string|int, mixed>setAfterEnqueuedAt()
public
setAfterEnqueuedAt(DateTimeInterface $date) : $this
Parameters
- $date : DateTimeInterface
Return values
$thissetAfterFinishedAt()
public
setAfterFinishedAt(DateTimeInterface $date) : $this
Parameters
- $date : DateTimeInterface
Return values
$thissetAfterStartedAt()
public
setAfterStartedAt(DateTimeInterface $date) : $this
Parameters
- $date : DateTimeInterface
Return values
$thissetBeforeEnqueuedAt()
public
setBeforeEnqueuedAt(DateTimeInterface $date) : $this
Parameters
- $date : DateTimeInterface
Return values
$thissetBeforeFinishedAt()
public
setBeforeFinishedAt(DateTimeInterface $date) : $this
Parameters
- $date : DateTimeInterface
Return values
$thissetBeforeStartedAt()
public
setBeforeStartedAt(DateTimeInterface $date) : $this
Parameters
- $date : DateTimeInterface
Return values
$thissetCanceledBy()
public
setCanceledBy(array<int, int> $canceledBy) : $this
Parameters
- $canceledBy : array<int, int>
Return values
$thissetFrom()
public
setFrom(int $from) : $this
Parameters
- $from : int
Return values
$thissetIndexUids()
public
setIndexUids(array<string|int, mixed> $indexUids) : $this
Parameters
- $indexUids : array<string|int, mixed>
Return values
$thissetLimit()
public
setLimit(int $limit) : $this
Parameters
- $limit : int
Return values
$thissetStatuses()
public
setStatuses(array<string|int, mixed> $statuses) : $this
Parameters
- $statuses : array<string|int, mixed>
Return values
$thissetTypes()
public
setTypes(array<string|int, mixed> $types) : $this
Parameters
- $types : array<string|int, mixed>
Return values
$thissetUids()
public
setUids(array<string|int, mixed> $uids) : $this
Parameters
- $uids : array<string|int, mixed>
Return values
$thistoArray()
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>baseArray()
protected
baseArray() : array<string|int, mixed>
Return values
array<string|int, mixed>formatArray()
private
formatArray(array<string|int, mixed>|null $array) : string|null
Parameters
- $array : array<string|int, mixed>|null
Return values
string|nullformatDate()
private
formatDate(DateTimeInterface|null $date) : string|null
Parameters
- $date : DateTimeInterface|null