Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 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
}