proofdb/vendor/illuminate/bus/Events/BatchCanceled.php
2026-05-01 23:40:14 +08:00

22 lines
441 B
PHP

<?php
namespace Illuminate\Bus\Events;
use Illuminate\Bus\Batch;
use Throwable;
class BatchCanceled
{
/**
* Create a new event instance.
*
* @param \Illuminate\Bus\Batch $batch The batch instance.
* @param \Throwable|null $exception The exception that caused the cancellation.
*/
public function __construct(
public Batch $batch,
public ?Throwable $exception = null,
) {
}
}