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

43 lines
926 B
PHP
Raw Normal View History

<?php
namespace App\Providers;
2014-09-30 21:01:17 -05:00
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;
2019-09-10 17:26:00 +02:00
use Illuminate\Support\Facades\Event;
2014-09-30 21:01:17 -05:00
2015-02-22 20:47:03 -06:00
class EventServiceProvider extends ServiceProvider
{
/**
2022-05-05 14:52:23 -05:00
* The event to listener mappings for the application.
2015-02-22 20:47:03 -06:00
*
* @var array<class-string, array<int, class-string>>
2015-02-22 20:47:03 -06:00
*/
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
{
//
}
2022-02-09 08:53:22 -06:00
/**
* Determine if events and listeners should be automatically discovered.
*
* @return bool
*/
public function shouldDiscoverEvents()
{
return false;
}
2014-09-30 21:01:17 -05:00
}