> */ protected $listen = [ 'Illuminate\Auth\Events\Login' => ['App\Listeners\LoginListener'], 'Illuminate\Auth\Events\Logout' => ['App\Listeners\LogoutListener'], ]; /** * 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; } }