photo/app/Providers/EventServiceProvider.php

35 lines
710 B
PHP
Raw Normal View History

2016-06-20 13:35:59 +00:00
<?php
namespace App\Providers;
2019-11-08 12:08:34 +00:00
use Illuminate\Auth\Events\Registered;
use Illuminate\Auth\Listeners\SendEmailVerificationNotification;
2016-06-20 13:35:59 +00:00
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
2019-11-08 12:08:34 +00:00
use Illuminate\Support\Facades\Event;
2016-06-20 13:35:59 +00:00
class EventServiceProvider extends ServiceProvider
{
/**
* The event listener mappings for the application.
*
* @var array
*/
protected $listen = [
2019-11-08 12:08:34 +00:00
Registered::class => [
SendEmailVerificationNotification::class,
],
2016-06-20 13:35:59 +00:00
];
/**
2019-11-08 12:08:34 +00:00
* Register any events for your application.
2016-06-20 13:35:59 +00:00
*
* @return void
*/
public function boot()
2016-06-20 13:35:59 +00:00
{
parent::boot();
2016-06-20 13:35:59 +00:00
//
}
}