journal-intime/app/Providers/EventServiceProvider.php

37 lines
797 B
PHP
Raw Normal View History

2019-09-18 16:50:01 +02:00
<?php
namespace App\Providers;
2019-09-25 15:25:22 +02:00
use App\Listeners\SendWelcomeNotification;
2019-09-18 16:50:01 +02:00
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.
*
* @var array
*/
protected $listen = [
Registered::class => [
SendEmailVerificationNotification::class,
2019-09-25 15:25:22 +02:00
SendWelcomeNotification::class,
2019-09-18 16:50:01 +02:00
],
];
/**
* Register any events for your application.
*
* @return void
*/
public function boot()
{
parent::boot();
//
}
}