Spec-Zone.ru › Laravel 9

BatchFactory

class BatchFactory (View source)

Свойства

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/9.x/Illuminate/Bus/BatchFactory.html

Spec-Zone.ru

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