trait Illuminate / Bus / Batchable
You are viewing an older version of the documentation. For the latest, please visit master documentation.

Batchable

Properties

public

$batchId string

The batch ID (if applicable).

Default: null

Methods

public

batch ( ) : Batch |null

Get the batch instance for the job, if applicable.

public

batching ( ) : bool

Determine if the batch is still active and processing.

public

withBatchId ( string $batchId ) : $this

Set the batch ID on the job.

Parameters

  • $batchId string