BatchesQuery
in package
uses
TasksQueryTrait
Table of Contents
Properties
- $afterEnqueuedAt : DateTimeInterface|null
- $afterFinishedAt : DateTimeInterface|null
- $afterStartedAt : DateTimeInterface|null
- $beforeEnqueuedAt : DateTimeInterface|null
- $beforeFinishedAt : DateTimeInterface|null
- $beforeStartedAt : DateTimeInterface|null
- $from : int|null
- $indexUids : array<int, non-empty-string>
- $limit : int|null
- $reverse : bool|null
- $statuses : array<int, non-empty-string>
- $types : array<int, non-empty-string>
- $uids : array<int, int>
Methods
- getIndexUids() : array<int, non-empty-string>
- setAfterEnqueuedAt() : $this
- setAfterFinishedAt() : $this
- setAfterStartedAt() : $this
- setBeforeEnqueuedAt() : $this
- setBeforeFinishedAt() : $this
- setBeforeStartedAt() : $this
- setFrom() : $this
- setIndexUids() : $this
- setLimit() : $this
- setReverse() : $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|null
$afterEnqueuedAt
= null
$afterFinishedAt
private
DateTimeInterface|null
$afterFinishedAt
= null
$afterStartedAt
private
DateTimeInterface|null
$afterStartedAt
= null
$beforeEnqueuedAt
private
DateTimeInterface|null
$beforeEnqueuedAt
= null
$beforeFinishedAt
private
DateTimeInterface|null
$beforeFinishedAt
= null
$beforeStartedAt
private
DateTimeInterface|null
$beforeStartedAt
= null
$from
private
int|null
$from
= null
$indexUids
private
array<int, non-empty-string>
$indexUids
= null
$limit
private
int|null
$limit
= null
non-negative-int|null
$reverse
private
bool|null
$reverse
= null
$statuses
private
array<int, non-empty-string>
$statuses
= null
$types
private
array<int, non-empty-string>
$types
= null
$uids
private
array<int, int>
$uids
= null
Methods
getIndexUids()
public
getIndexUids() : array<int, non-empty-string>
Return values
array<int, non-empty-string>setAfterEnqueuedAt()
public
setAfterEnqueuedAt(DateTimeInterface|null $date) : $this
Parameters
- $date : DateTimeInterface|null
Return values
$thissetAfterFinishedAt()
public
setAfterFinishedAt(DateTimeInterface|null $date) : $this
Parameters
- $date : DateTimeInterface|null
Return values
$thissetAfterStartedAt()
public
setAfterStartedAt(DateTimeInterface|null $date) : $this
Parameters
- $date : DateTimeInterface|null
Return values
$thissetBeforeEnqueuedAt()
public
setBeforeEnqueuedAt(DateTimeInterface|null $date) : $this
Parameters
- $date : DateTimeInterface|null
Return values
$thissetBeforeFinishedAt()
public
setBeforeFinishedAt(DateTimeInterface|null $date) : $this
Parameters
- $date : DateTimeInterface|null
Return values
$thissetBeforeStartedAt()
public
setBeforeStartedAt(DateTimeInterface|null $date) : $this
Parameters
- $date : DateTimeInterface|null
Return values
$thissetFrom()
public
setFrom(int $from) : $this
Parameters
- $from : int
Return values
$thissetIndexUids()
public
setIndexUids(array<int, non-empty-string>|null $indexUids) : $this
Parameters
- $indexUids : array<int, non-empty-string>|null
Return values
$thissetLimit()
public
setLimit(int $limit) : $this
Parameters
- $limit : int
Return values
$thissetReverse()
public
setReverse(bool $reverse) : $this
Parameters
- $reverse : bool
Return values
$thissetStatuses()
public
setStatuses(array<int, non-empty-string>|null $statuses) : $this
Parameters
- $statuses : array<int, non-empty-string>|null
Return values
$thissetTypes()
public
setTypes(array<int, non-empty-string>|null $types) : $this
Parameters
- $types : array<int, non-empty-string>|null
Return values
$thissetUids()
public
setUids(array<int, int>|null $uids) : $this
Parameters
- $uids : array<int, int>|null
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