Вход Регистрация
Файл: vendor/laravel/framework/src/Illuminate/Bus/Events/BatchCanceled.php
Строк: 23
<?php

namespace IlluminateBusEvents;

use 
IlluminateBusBatch;
use 
Throwable;

class 
BatchCanceled
{
    
/**
     * Create a new event instance.
     *
     * @param  IlluminateBusBatch  $batch  The batch instance.
     * @param  Throwable|null  $exception  The exception that caused the cancellation.
     */
    
public function __construct(
        public 
Batch $batch,
        public ?
Throwable $exception null,
    ) {
    }
}
Онлайн: 1
Реклама