Files
spa-api/app/Providers/EventServiceProvider.php

35 lines
710 B
PHP
Raw Normal View History

<?php
namespace App\Providers;
2014-09-30 21:01:17 -05:00
2016-07-11 15:44:50 -05:00
use Illuminate\Support\Facades\Event;
2018-06-21 11:09:58 -05:00
use Illuminate\Auth\Events\Registered;
use Illuminate\Auth\Listeners\SendEmailVerificationNotification;
2014-09-30 21:13:58 -05:00
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
2014-09-30 21:01:17 -05:00
2015-02-22 20:47:03 -06:00
class EventServiceProvider extends ServiceProvider
{
/**
* The event listener mappings for the application.
*
* @var array
*/
protected $listen = [
2018-06-21 11:09:58 -05:00
Registered::class => [
SendEmailVerificationNotification::class,
2015-02-22 20:47:03 -06:00
],
];
2014-10-14 20:07:12 -05:00
2015-02-22 20:47:03 -06:00
/**
2016-07-11 15:44:50 -05:00
* Register any events for your application.
2015-02-22 20:47:03 -06:00
*
* @return void
*/
2016-07-11 15:44:50 -05:00
public function boot()
2015-02-22 20:47:03 -06:00
{
2016-07-11 15:44:50 -05:00
parent::boot();
2015-01-22 15:28:02 -06:00
2015-02-22 20:47:03 -06:00
//
}
2014-09-30 21:01:17 -05:00
}