class BatchCanceled (View source)

Methods

__construct(Batch $batch, Throwable|null $exception = null)

Create a new event instance.

Details

__construct(Batch $batch, Throwable|null $exception = null)

Create a new event instance.

Parameters

Batch $batch

The batch instance.

Throwable|null $exception

The exception that caused the cancellation.