ldc-boutique-cnc/app/Providers/EventServiceProvider.php
2023-03-10 17:18:40 +01:00

40 lines
939 B
PHP

<?php
namespace App\Providers;
use App\Events\LogVerifiedUser;
use App\Listeners\PasswordHasReset;
use Illuminate\Auth\Events\PasswordReset;
use Illuminate\Auth\Events\Registered;
use Illuminate\Auth\Events\Verified;
use Illuminate\Auth\Listeners\SendEmailVerificationNotification;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
class EventServiceProvider extends ServiceProvider
{
/**
* The event listener mappings for the application.
*
* @var array
*/
protected $listen = [
Registered::class => [
SendEmailVerificationNotification::class,
],
Verified::class => [
LogVerifiedUser::class
],
PasswordReset::class => [
PasswordHasReset::class
],
];
/**
* Register any events for your application.
*
* @return void
*/
public function boot()
{
}
}