interface Illuminate / Contracts / Bus / QueueingDispatcher
You are viewing an older version of the documentation. For the latest, please visit master documentation.

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

public

dispatchToQueue ( $command ) : mixed

Dispatch a command to its appropriate handler behind a queue.

Parameters

  • $command mixed