interface Illuminate / Contracts / Bus / QueueingDispatcher

QueueingDispatcher

Methods

public

findBatch ( string $batchId ) : Batch |null

Attempt to find the batch with the given ID.

Parameters

  • $batchId string
public

batch ( $jobs ) : PendingBatch

Create a new batch of queueable jobs.

Parameters

  • $jobs Illuminate\...\Collection|array
public

dispatchToQueue ( $command ) : mixed

Dispatch a command to its appropriate handler behind a queue.

Parameters

  • $command mixed