1 | <?php |
||
8 | class EventServiceProvider extends ServiceProvider |
||
9 | { |
||
10 | /** |
||
11 | * The event listener mappings for the application. |
||
12 | * |
||
13 | * @var array |
||
14 | */ |
||
15 | protected $listen = [ |
||
16 | 'App\Events\MakeWasCreated' => [], |
||
17 | 'App\Events\MakeWasDeleted' => [], |
||
18 | 'App\Events\WarehouseWasCreated' => [], |
||
19 | 'App\Events\WarehouseWasUpdated' => [], |
||
20 | 'App\Events\WarehouseWasDeleted' => [], |
||
21 | 'App\Events\SupplierWasCreated' => [], |
||
22 | 'App\Events\SupplierWasDeleted' => [], |
||
23 | 'App\Events\PurchaseWasCreated' => [ |
||
24 | 'App\Listeners\GeneratePurchaseNotification', |
||
25 | ], |
||
26 | 'App\Events\PurchaseWasDeleted' => [], |
||
27 | 'App\Events\ModelWasCreated' => [], |
||
28 | 'App\Events\ModelWasDeleted' => [], |
||
29 | 'App\Events\GuitarWasCreated' => [ |
||
30 | 'App\Listeners\GenerateRackNotification', |
||
31 | ], |
||
32 | 'App\Events\GuitarWasDeleted' => [], |
||
33 | 'App\Events\SaleWasCreated' => [], |
||
34 | 'App\Events\SaleWasDeleted' => [], |
||
35 | 'App\Events\NotificationWasCreated' => [], |
||
36 | 'App\Events\NotificationWasDismissed' => [], |
||
37 | ]; |
||
38 | |||
39 | /** |
||
40 | * Register any other events for your application. |
||
41 | * |
||
42 | * @param \Illuminate\Contracts\Events\Dispatcher $events |
||
43 | * |
||
44 | * @return void |
||
45 | */ |
||
46 | 90 | public function boot(DispatcherContract $events) |
|
50 | } |
||
51 |