| 1 | <?php |
||
| 12 | class EventServiceProvider extends ServiceProvider |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * The event listener mappings for the application. |
||
| 16 | * |
||
| 17 | * @var array |
||
| 18 | */ |
||
| 19 | protected $listen = [ |
||
| 20 | PostWasViewed::class => [ |
||
| 21 | ViewPostHandler::class |
||
| 22 | ], |
||
| 23 | |||
| 24 | UserCreationRequestSent::class => [ |
||
| 25 | SendConfirmationCode::class |
||
| 26 | ] |
||
| 27 | ]; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Register any other events for your application. |
||
| 31 | * |
||
| 32 | * @param \Illuminate\Contracts\Events\Dispatcher $events |
||
| 33 | * @return void |
||
| 34 | */ |
||
| 35 | public function boot(DispatcherContract $events) |
||
| 41 | } |
||
| 42 |