class JobProcessed (View source)

Methods

__construct(string $connectionName, Job $job, float|null $duration = null)

Create a new event instance.

Details

__construct(string $connectionName, Job $job, float|null $duration = null)

Create a new event instance.

Parameters

string $connectionName

The connection name.

Job $job

The job instance.

float|null $duration

The number of milliseconds the job took to process.