[ SendEmailVerificationNotification::class, OnUserRegistration::class ], Failed::class => [ LogAuthenticationFailure::class ], 'App\Events\ApplicationApprovedEvent' => [ 'App\Listeners\PromoteUser' ], 'App\Events\ApplicationDeniedEvent' => [ 'App\Listeners\DenyUser' ], 'App\Events\UserBannedEvent' => [ 'App\Listeners\OnUserBanned' ] ]; /** * Register any events for your application. * * @return void */ public function boot() { parent::boot(); // } }