jonnybarnes.uk/app/Providers/EventServiceProvider.php

31 lines
707 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
{
/**
2023-02-18 09:34:57 +00:00
* The event to listener mappings for the application.
2016-05-19 15:01:28 +01:00
*
2023-02-18 09:34:57 +00:00
* @var array<class-string, array<int, class-string>>
2016-05-19 15:01:28 +01:00
*/
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
*/
2023-02-18 09:34:57 +00:00
public function boot(): void
2016-05-19 15:01:28 +01:00
{
//
}
}