class UpdatedBatchJobCounts (View source)

Properties

int $pendingJobs

The number of pending jobs remaining for the batch.

int $failedJobs

The number of failed jobs that belong to the batch.

Methods

void
__construct(int $pendingJobs = 0, int $failedJobs = 0)

Create a new batch job counts object.

bool
allJobsHaveRanExactlyOnce()

Determine if all jobs have run exactly once.

Details

void __construct(int $pendingJobs = 0, int $failedJobs = 0)

Create a new batch job counts object.

Parameters

int $pendingJobs
int $failedJobs

Return Value

void

bool allJobsHaveRanExactlyOnce()

Determine if all jobs have run exactly once.

Return Value

bool

Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.