| 1 | <?php |
||
| 10 | class EventServiceProvider extends ServiceProvider |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * The event listener mappings for the application. |
||
| 14 | * |
||
| 15 | * @var array |
||
| 16 | */ |
||
| 17 | protected $listen = [ |
||
| 18 | 'PHPHub\Events\SomeEvent' => [ |
||
| 19 | 'PHPHub\Listeners\EventListener', |
||
| 20 | ], |
||
| 21 | ]; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Register any other events for your application. |
||
| 25 | * |
||
| 26 | * @param \Illuminate\Contracts\Events\Dispatcher $events |
||
| 27 | */ |
||
| 28 | public function boot(DispatcherContract $events) |
||
| 37 | } |
||
| 38 |