hypothetical/app/Providers/EventServiceProvider.php

35 lines
710 B
PHP
Raw Normal View History

<?php
namespace App\Providers;
use Illuminate\Auth\Events\Registered;
use Illuminate\Auth\Listeners\SendEmailVerificationNotification;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
2019-10-31 17:24:53 -04:00
use Illuminate\Support\Facades\Event;
class EventServiceProvider extends ServiceProvider
{
/**
* The event listener mappings for the application.
*
* @var array
*/
protected $listen = [
Registered::class => [
SendEmailVerificationNotification::class,
],
];
/**
2016-08-19 16:38:49 -04:00
* Register any events for your application.
*
* @return void
*/
2016-08-19 16:38:49 -04:00
public function boot()
{
2016-08-19 16:38:49 -04:00
parent::boot();
//
}
}