<?phpnamespaceApp\Providers;useIlluminate\Auth\Events\Registered;useIlluminate\Auth\Listeners\SendEmailVerificationNotification;useIlluminate\Foundation\Support\Providers\EventServiceProviderasServiceProvider;useIlluminate\Support\Facades\Event;classEventServiceProviderextendsServiceProvider{/** * The event listener mappings for the application. * * @var array */protected$listen=[Registered::class=>[SendEmailVerificationNotification::class,],];/** * Register any events for your application. * * @return void */publicfunctionboot(){parent::boot();//}}