| 1 | <?php namespace App\Providers; |
||
| 6 | class EventServiceProvider extends ServiceProvider { |
||
| 7 | |||
| 8 | /** |
||
| 9 | * The event handler mappings for the application. |
||
| 10 | * |
||
| 11 | * @var array |
||
| 12 | */ |
||
| 13 | protected $listen = [ |
||
| 14 | 'event.name' => [ |
||
| 15 | 'EventListener', |
||
| 16 | ], |
||
| 17 | ]; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Register any other events for your application. |
||
| 21 | * |
||
| 22 | * @param \Illuminate\Contracts\Events\Dispatcher $events |
||
| 23 | * @return void |
||
| 24 | */ |
||
| 25 | public function boot(DispatcherContract $events) |
||
| 31 | |||
| 32 | } |
||
| 33 |