Debian Codegraph @

lib/3rdParty/composer/illuminate/contracts/Queue/Monitor.php

raw symbols SCIP
1 <?php
2
3 namespace Illuminate\Contracts\Queue;
4
5 interface Monitor
6 {
7 /**
8 * Register a callback to be executed on every iteration through the queue loop.
9 *
10 * @param mixed $callback
11 * @return void
12 */
13 public function looping($callback);
14
15 /**
16 * Register a callback to be executed when a job fails after the maximum number of retries.
17 *
18 * @param mixed $callback
19 * @return void
20 */
21 public function failing($callback);
22
23 /**
24 * Register a callback to be executed when a daemon queue is stopping.
25 *
26 * @param mixed $callback
27 * @return void
28 */
29 public function stopping($callback);
30 }