38 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
 | 
						|
namespace App\Providers;
 | 
						|
 | 
						|
use App\Events\ProxyStarted;
 | 
						|
use App\Listeners\MaintenanceModeDisabledNotification;
 | 
						|
use App\Listeners\MaintenanceModeEnabledNotification;
 | 
						|
use App\Listeners\ProxyStartedNotification;
 | 
						|
use Illuminate\Foundation\Events\MaintenanceModeDisabled;
 | 
						|
use Illuminate\Foundation\Events\MaintenanceModeEnabled;
 | 
						|
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
 | 
						|
 | 
						|
class EventServiceProvider extends ServiceProvider
 | 
						|
{
 | 
						|
    protected $listen = [
 | 
						|
        MaintenanceModeEnabled::class => [
 | 
						|
            MaintenanceModeEnabledNotification::class,
 | 
						|
        ],
 | 
						|
        MaintenanceModeDisabled::class => [
 | 
						|
            MaintenanceModeDisabledNotification::class,
 | 
						|
        ],
 | 
						|
        \SocialiteProviders\Manager\SocialiteWasCalled::class => [
 | 
						|
            \SocialiteProviders\Azure\AzureExtendSocialite::class . '@handle',
 | 
						|
        ],
 | 
						|
        ProxyStarted::class => [
 | 
						|
            ProxyStartedNotification::class,
 | 
						|
        ],
 | 
						|
    ];
 | 
						|
    public function boot(): void
 | 
						|
    {
 | 
						|
        //
 | 
						|
    }
 | 
						|
    public function shouldDiscoverEvents(): bool
 | 
						|
    {
 | 
						|
        return false;
 | 
						|
    }
 | 
						|
}
 |