ldc-legaulois/app/Providers/EventServiceProvider.php

28 lines
661 B
PHP
Raw Normal View History

2020-07-23 10:29:36 +02:00
<?php
namespace App\Providers;
use App\Events\NewNotification;
use App\Listeners\CreateNotification;
2020-07-23 10:29:36 +02:00
use Illuminate\Auth\Events\Registered;
use Illuminate\Auth\Listeners\SendEmailVerificationNotification;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
class EventServiceProvider extends ServiceProvider
{
2021-03-20 14:38:15 +01:00
2020-07-23 10:29:36 +02:00
/**
* The event listener mappings for the application.
*
* @var array
*/
protected $listen = [
Registered::class => [
SendEmailVerificationNotification::class,
],
NewNotification::class => [
CreateNotification::class,
],
2020-07-23 10:29:36 +02:00
];
}