interface Monitor (View source)

Methods

void
looping( mixed $callback)

Register a callback to be executed on every iteration through the queue loop.

void
failing( mixed $callback)

Register a callback to be executed when a job fails after the maximum amount of retries.

void
stopping( mixed $callback)

Register a callback to be executed when a daemon queue is stopping.

Details

at line line 13
void looping( mixed $callback)

Register a callback to be executed on every iteration through the queue loop.

Parameters

mixed $callback

Return Value

void

at line line 21
void failing( mixed $callback)

Register a callback to be executed when a job fails after the maximum amount of retries.

Parameters

mixed $callback

Return Value

void

at line line 29
void stopping( mixed $callback)

Register a callback to be executed when a daemon queue is stopping.

Parameters

mixed $callback

Return Value

void