photo/app/Providers/EventServiceProvider.php

35 lines
710 B
PHP
Raw Normal View History

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