| 1 | <?php |
||
| 22 | class EventServiceProvider extends ServiceProvider |
||
| 23 | { |
||
| 24 | /** |
||
| 25 | * The event handler mappings for the application. |
||
| 26 | * |
||
| 27 | * @var array |
||
| 28 | */ |
||
| 29 | protected $listen = [ |
||
| 30 | 'event.name' => [ |
||
| 31 | 'EventListener', |
||
| 32 | ], |
||
| 33 | ]; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Register any other events for your application. |
||
| 37 | * |
||
| 38 | * @param \Illuminate\Contracts\Events\Dispatcher $events |
||
| 39 | */ |
||
| 40 | 59 | public function boot(DispatcherContract $events) |
|
| 44 | } |
||
| 45 |