Blame view

app/Providers/EventServiceProvider.php 1.49 KB
b7c7a5f6   Alexey Boroda   first commit
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
  <?php
  
  namespace App\Providers;
  
  use Illuminate\Support\Facades\Event;
  use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
  
  class EventServiceProvider extends ServiceProvider
  {
      /**
       * The event listener mappings for the application.
       *
       * @var array
       */
      protected $listen = [
          'App\Events\UpdateFinished' => [
              'App\Listeners\Updates\Version106',
              'App\Listeners\Updates\Version107',
              'App\Listeners\Updates\Version108',
              'App\Listeners\Updates\Version109',
              'App\Listeners\Updates\Version110',
              'App\Listeners\Updates\Version112',
              'App\Listeners\Updates\Version113',
              'App\Listeners\Updates\Version119',
              'App\Listeners\Updates\Version120',
              'App\Listeners\Updates\Version126',
              'App\Listeners\Updates\Version127',
              'App\Listeners\Updates\Version129',
              'App\Listeners\Updates\Version1210',
              'App\Listeners\Updates\Version1211',
          ],
          'Illuminate\Auth\Events\Login' => [
              'App\Listeners\Auth\Login',
          ],
          'Illuminate\Auth\Events\Logout' => [
              'App\Listeners\Auth\Logout',
          ],
          'App\Events\InvoicePaid' => [
              'App\Listeners\Incomes\Invoice\Paid',
          ],
      ];
  
      /**
       * Register any events for your application.
       *
       * @return void
       */
      public function boot()
      {
          parent::boot();
  
          //
      }
  }