Documentation

Monitor

Table of Contents

failing()  : void
Register a callback to be executed when a job fails after the maximum amount of retries.
looping()  : void
Register a callback to be executed on every iteration through the queue loop.
stopping()  : void
Register a callback to be executed when a daemon queue is stopping.

Methods

failing()

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

public failing(mixed $callback) : void
Parameters
$callback : mixed
Return values
void

looping()

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

public looping(mixed $callback) : void
Parameters
$callback : mixed
Return values
void

stopping()

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

public stopping(mixed $callback) : void
Parameters
$callback : mixed
Return values
void

Search results