| Total Complexity | 1 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | class EventServiceProvider extends ServiceProvider |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * The event listener mappings for the application. |
||
| 20 | * |
||
| 21 | * @var array |
||
| 22 | */ |
||
| 23 | protected $listen = [ |
||
| 24 | Registered::class => [ |
||
| 25 | SendEmailVerificationNotification::class, |
||
| 26 | ], |
||
| 27 | Login::class => [ |
||
| 28 | LoginListener::class, |
||
| 29 | ], |
||
| 30 | Failed::class => [ |
||
| 31 | LoginListener::class, |
||
| 32 | ], |
||
| 33 | QueryExecuted::class => [ |
||
| 34 | DatabaseListener::class, |
||
| 35 | ], |
||
| 36 | ]; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Register any events for your application. |
||
| 40 | * |
||
| 41 | * @return void |
||
| 42 | */ |
||
| 43 | public function boot() |
||
| 50 |