ldc-gen-game-web/app/Providers/EventServiceProvider.php

32 lines
754 B
PHP
Raw Permalink Normal View History

2020-10-21 15:26:21 +02:00
<?php
namespace App\Providers;
use Illuminate\Auth\Events\Registered;
use Illuminate\Auth\Listeners\SendEmailVerificationNotification;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
class EventServiceProvider extends ServiceProvider
{
/**
2023-11-23 17:31:28 +01:00
* The event to listener mappings for the application.
2020-10-21 15:26:21 +02:00
*
2023-11-23 17:31:28 +01:00
* @var array<class-string, array<int, class-string>>
2020-10-21 15:26:21 +02:00
*/
protected $listen = [
Registered::class => [
SendEmailVerificationNotification::class,
],
];
2023-08-21 10:22:07 +02:00
/**
* Determine if events and listeners should be automatically discovered.
*
* @return boolean
*/
public function shouldDiscoverEvents(): bool
{
return false;
}
2020-10-21 15:26:21 +02:00
}