class
Illuminate
/
Bus
/
BatchFactory
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