ldc-legaulois/app/Providers/EventServiceProvider.php
Jérémy Munsch c5e3a834fa phpcbf fix
2021-09-15 14:27:41 +02:00

27 lines
661 B
PHP

<?php
namespace App\Providers;
use App\Events\NewNotification;
use App\Listeners\CreateNotification;
use Illuminate\Auth\Events\Registered;
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,
],
NewNotification::class => [
CreateNotification::class,
],
];
}