| 1 | <?php namespace App\Providers; |
||
| 7 | class EventServiceProvider extends ServiceProvider |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * The event handler mappings for the application. |
||
| 11 | * |
||
| 12 | * @var array |
||
| 13 | */ |
||
| 14 | protected $listen = [ |
||
| 15 | Events\Files\Uploaded::class => [ |
||
| 16 | Listeners\Files\ValidateUploadRealMimeAgainstAllowedTypes::class, |
||
| 17 | Listeners\Files\PersistUploadedFile::class |
||
| 18 | ], |
||
| 19 | Events\Users\LoggedIn::class => [], |
||
| 20 | Events\Users\LoggedOut::class => [], |
||
| 21 | Events\Users\Registered::class => [ |
||
| 22 | Listeners\Users\SendActivationLinkViaEmail::class |
||
| 23 | ], |
||
| 24 | Events\Users\RequestedActivationLink::class => [ |
||
| 25 | Listeners\Users\SendActivationLinkViaEmail::class |
||
| 26 | ], |
||
| 27 | Events\Users\RequestedResetPasswordLink::class => [], |
||
| 28 | Events\Users\Updated::class => [], |
||
| 29 | ]; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Register any other events for your application. |
||
| 33 | * |
||
| 34 | * @return void |
||
| 35 | */ |
||
| 36 | public function boot() |
||
| 42 | } |
||
| 43 |