adrema/app/Providers/EventServiceProvider.php

33 lines
726 B
PHP
Raw Permalink Normal View History

2020-04-10 20:32:12 +02:00
<?php
namespace App\Providers;
use Illuminate\Auth\Events\Registered;
use Illuminate\Auth\Listeners\SendEmailVerificationNotification;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
use Illuminate\Support\Facades\Event;
class EventServiceProvider extends ServiceProvider
{
/**
* The event listener mappings for the application.
*
2023-02-13 15:56:20 +01:00
* @var array<string, array<int, string>>
2020-04-10 20:32:12 +02:00
*/
protected $listen = [
Registered::class => [
SendEmailVerificationNotification::class,
],
];
/**
* Register any events for your application.
*
* @return void
*/
public function boot()
{
parent::boot();
}
}