BatchFactory
class BatchFactory (View source)
Properties
protected Factory | $queue | The queue factory implementation. |
Methods
void
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.
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.