> */ protected $listen = [ Registered::class => [ SendEmailVerificationNotification::class, ], 'Illuminate\Auth\Events\Login' => [ 'App\Listeners\SuccessfulLogin', ], ]; /** * Register any events for your application. */ public function boot(): void { // } /** * Determine if events and listeners should be automatically discovered. */ public function shouldDiscoverEvents(): bool { return false; } }