> */ protected $listen = [ Registered::class => [ SendEmailVerificationNotification::class, ], RegisteredByAdmin::class => [ SendAdminCreatedVerificationNotification::class, ], Login::class => [ LoginSuccessful::class ], ReactionHasBeenAdded::class => [ ReactionCreatedListener::class ], ReactionHasBeenRemoved::class => [ ReactionRemovedListener::class ], 'Illuminate\Auth\Events\Logout' => [ 'App\Listeners\HandleUserLogout', ], // Log the date and ip of the profile that is switched to: // When the ProfileSwitchEvent triggers the LogProfileSwitch listens ProfileSwitchEvent::class => [ LogProfileSwitch::class, ], // Email verification of profile models (organization's, banks, admins etc) ProfileVerified::class => [ UpdateProfileEmailVerifiedAt::class, ], ]; /** * Register any events for your application. * * @return void */ public function boot() { // } }