class Illuminate / Bus / BatchFactory
You are viewing an older version of the documentation. For the latest, please visit master documentation.

BatchFactory

Properties

protected

$queue Factory

The queue factory implementation.

Default: null

Methods

public

__construct ( Factory $queue ) : void

Create a new batch factory instance.

Parameters

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