class UpdateJobMetrics

Methods

__construct(MetricsRepository $metrics, Stopwatch $watch)

Create a new listener instance.

void
handle(JobDeleted $event)

Stop gathering metrics for a job.

Details

at line 19
__construct(MetricsRepository $metrics, Stopwatch $watch)

Create a new listener instance.

Parameters

MetricsRepository $metrics

the metrics repository implementation

Stopwatch $watch

the stopwatch instance

at line 28
void handle(JobDeleted $event)

Stop gathering metrics for a job.

Parameters

JobDeleted $event

Return Value

void