jonnybarnes.uk/app/Providers/EventServiceProvider.php

35 lines
710 B
PHP
Raw Normal View History

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