class Illuminate / Bus / UpdatedBatchJobCounts

UpdatedBatchJobCounts

Properties

public

$pendingJobs int

The number of pending jobs remaining for the batch.

Default: null
public

$failedJobs int

The number of failed jobs that belong to the batch.

Default: null

Methods

public

__construct ( int $pendingJobs , int $failedJobs ) : void

Create a new batch job counts object.

Parameters

  • $pendingJobs int
  • $failedJobs int
public

allJobsHaveRanExactlyOnce ( ) : bool

Determine if all jobs have run exactly once.