]> BookStack Code Mirror - bookstack/blob - app/Providers/EventServiceProvider.php
Updated assets and version for release v0.18.4
[bookstack] / app / Providers / EventServiceProvider.php
1 <?php
2
3 namespace BookStack\Providers;
4
5 use Illuminate\Contracts\Events\Dispatcher as DispatcherContract;
6 use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
7 use SocialiteProviders\Manager\SocialiteWasCalled;
8
9 class EventServiceProvider extends ServiceProvider
10 {
11     /**
12      * The event listener mappings for the application.
13      *
14      * @var array
15      */
16     protected $listen = [
17         SocialiteWasCalled::class => [
18             'SocialiteProviders\Slack\SlackExtendSocialite@handle',
19             'SocialiteProviders\Azure\AzureExtendSocialite@handle',
20         ],
21     ];
22
23     /**
24      * Register any other events for your application.
25      *
26      * @return void
27      */
28     public function boot()
29     {
30         parent::boot();
31     }
32 }