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 12
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 17
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 22
void starting(mixed $callback)

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

Parameters

mixed $callback

Return Value

void

at line 27
void stopping(mixed $callback)

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

Parameters

mixed $callback

Return Value

void