interface Monitor

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 number of retries.

void
starting(mixed $callback)

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

void
stopping(mixed $callback)

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

Details

at line 14
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 20
void failing(mixed $callback)

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

Parameters

mixed $callback

Return Value

void

at line 26
void starting(mixed $callback)

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

Parameters

mixed $callback

Return Value

void

at line 32
void stopping(mixed $callback)

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

Parameters

mixed $callback

Return Value

void