Blame view

public/vendor/illuminate/contracts/Queue/Monitor.php 672 Bytes
86143e36f   Андрей Ларионов   Коммит вторник
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
  <?php
  
  namespace Illuminate\Contracts\Queue;
  
  interface Monitor
  {
      /**
       * Register a callback to be executed on every iteration through the queue loop.
       *
       * @param  mixed  $callback
       * @return void
       */
      public function looping($callback);
  
      /**
       * Register a callback to be executed when a job fails after the maximum amount of retries.
       *
       * @param  mixed  $callback
       * @return void
       */
      public function failing($callback);
  
      /**
       * Register a callback to be executed when a daemon queue is stopping.
       *
       * @param  mixed  $callback
       * @return void
       */
      public function stopping($callback);
  }