[ SendEmailVerificationNotification::class, OnUserRegistration::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(); // } }