2015-06-01 15:43:37 +01:00
|
|
|
<?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
|
|
|
*
|
2021-12-03 15:04:57 +00: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
|
|
|
*/
|
2023-01-03 09:35:24 +00:00
|
|
|
public function boot(): void
|
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.
|
|
|
|
|
*/
|
2023-01-03 09:35:24 +00:00
|
|
|
public function shouldDiscoverEvents(): bool
|
2022-02-09 08:53:22 -06:00
|
|
|
{
|
|
|
|
|
return false;
|
|
|
|
|
}
|
2014-09-30 21:01:17 -05:00
|
|
|
}
|