Batchable
trait Batchable (View source)
Properties
string | $batchId | The batch ID (if applicable). |
Methods
bool
batching()
Determine if the batch is still active and processing.
$this
withBatchId(string $batchId)
Set the batch ID on the job.
Details
Batch|null
batch()
Get the batch instance for the job, if applicable.
bool
batching()
Determine if the batch is still active and processing.
$this
withBatchId(string $batchId)
Set the batch ID on the job.