W3cubDocs

/Laravel 8

BatchFactory

class BatchFactory (View source)

Properties

protected Factory $queue The queue factory implementation.

Methods

void __construct(Factory $queue)

Create a new batch factory instance.

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)

Create a new batch instance.

Details

void __construct(Factory $queue)

Create a new batch factory instance.

Parameters

Factory $queue

Return Value

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)

Create a new batch instance.

Parameters

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

Return Value

Batch

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