class
Illuminate
/
Bus
/
BatchFactory
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
BatchFactory
Properties
Methods
public
__construct ( Factory $queue ) : void
Create a new batch factory instance.
Parameters
- $queue Factory
public
make ( BatchRepository $repository , string $id , string $name , int $totalJobs , int $pendingJobs , int $failedJobs , array $failedJobIds , array $options , Carbon\CarbonImmutable $createdAt , Carbon\CarbonImmutable $cancelledAt , Carbon\CarbonImmutable $finishedAt ) : Batch
Create a new batch instance.
Parameters
- $repository BatchRepository
- $id string
- $name string
- $totalJobs int
- $pendingJobs int
- $failedJobs int
- $failedJobIds array
- $options array
- $createdAt Carbon\CarbonImmutable
- $cancelledAt Carbon\CarbonImmutable|null
- $finishedAt Carbon\CarbonImmutable|null