lasthourcloud/app/Providers/EventServiceProvider.php

33 lines
895 B
PHP
Raw Normal View History

2023-03-17 14:33:48 +00:00
<?php
namespace App\Providers;
use App\Listeners\MaintenanceModeDisabledNotification;
use App\Listeners\MaintenanceModeEnabledNotification;
use Illuminate\Foundation\Events\MaintenanceModeDisabled;
use Illuminate\Foundation\Events\MaintenanceModeEnabled;
2023-03-17 14:33:48 +00:00
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
class EventServiceProvider extends ServiceProvider
{
protected $listen = [
MaintenanceModeEnabled::class => [
MaintenanceModeEnabledNotification::class,
],
MaintenanceModeDisabled::class => [
MaintenanceModeDisabledNotification::class,
],
2023-12-04 14:08:24 +00:00
// Registered::class => [
// SendEmailVerificationNotification::class,
// ],
2023-03-17 14:33:48 +00:00
];
public function boot(): void
{
//
}
public function shouldDiscoverEvents(): bool
{
return false;
}
}