Changeset View
Changeset View
Standalone View
Standalone View
src/app/Providers/EventServiceProvider.php
Show All 16 Lines | class EventServiceProvider extends ServiceProvider | ||||
protected $listen = [ | protected $listen = [ | ||||
Registered::class => [ | Registered::class => [ | ||||
SendEmailVerificationNotification::class, | SendEmailVerificationNotification::class, | ||||
], | ], | ||||
]; | ]; | ||||
/** | /** | ||||
* Register any events for your application. | * Register any events for your application. | ||||
* | |||||
* @return void | |||||
*/ | */ | ||||
public function boot() | public function boot(): void | ||||
{ | { | ||||
// | // | ||||
} | } | ||||
/** | /** | ||||
* Determine if events and listeners should be automatically discovered. | * Determine if events and listeners should be automatically discovered. | ||||
* | |||||
* @return bool | |||||
*/ | */ | ||||
public function shouldDiscoverEvents() | public function shouldDiscoverEvents(): bool | ||||
{ | { | ||||
return false; | return false; | ||||
} | } | ||||
} | } |