Spec-Zone.ru › Laravel 10

BatchFactory

класс BatchFactory (Просмотреть исходный код)

Свойства

protected Factory$queue

Реализация фабрики очереди.

Методы

void __construct(Factory $queue)

Создать новый экземпляр фабрики пакета.

Batch make(BatchRepository $repository, string $id, string $name, int $totalJobs, int $pendingJobs, int $failedJobs, array $failedJobIds, array $options, CarbonImmutable $createdAt, CarbonImmutable|null $cancelledAt, CarbonImmutable|null $finishedAt)

Создать новый экземпляр пакета.

Детали

void __construct(Factory $queue)

Создать новый экземпляр фабрики пакета.

Параметры

Factory$queue

Возвращаемое значение

void

Batch make(BatchRepository $repository, string $id, string $name, int $totalJobs, int $pendingJobs, int $failedJobs, array $failedJobIds, array $options, CarbonImmutable $createdAt, CarbonImmutable|null $cancelledAt, CarbonImmutable|null $finishedAt)

Создать новый экземпляр пакета.

Параметры

BatchRepository$repository
string$id
string$name
int$totalJobs
int$pendingJobs
int$failedJobs
array$failedJobIds
array$options
CarbonImmutable$createdAt
CarbonImmutable|null$cancelledAt
CarbonImmutable|null$finishedAt

Возвращаемое значение

Batch

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/10.x/Illuminate/Bus/BatchFactory.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API