W3cubDocs

/Laravel 8

UpdatedBatchJobCounts

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 ran 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 ran exactly once.

Return Value

bool

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/Bus/UpdatedBatchJobCounts.html