> */ protected $listen = [ Registered::class => [ SendEmailVerificationNotification::class, ], TwoFAccountDeleted::class => [ CleanIconStorage::class, ], GroupDeleting::class => [ DissociateTwofaccountFromGroup::class, ], GroupDeleted::class => [ ResetUsersPreference::class, ], ScanForNewReleaseCalled::class => [ ReleaseRadar::class, ], SocialiteWasCalled::class => [ RegisterOpenId::class, ], NotificationSent::class => [ LogNotificationListener::class, ], Login::class => [ LoginListener::class, ], Failed::class => [ FailedLoginListener::class, ], Logout::class => [ LogoutListener::class, ], VisitedByProxyUser::class => [ VisitedByProxyUserListener::class, ], StoreIconsInDatabaseSettingChanged::class => [ ToggleIconReplicationToDatabase::class, ], ]; /** * The model observers for your application. * * @var array> */ // TODO: bind the observer using the ObservedBy attribute (https://laravel.com/docs/11.x/eloquent#defining-observers) protected $observers = [ User::class => [UserObserver::class], ]; /** * Register any events for your application. * * @return void */ public function boot() { // } /** * Determine if events and listeners should be automatically discovered. */ public function shouldDiscoverEvents() : bool { return false; } }