]> BookStack Code Mirror - bookstack/blob - app/Providers/EventServiceProvider.php
Updated grid view to use CSS grid and flexbox
[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             'SocialiteProviders\Okta\OktaExtendSocialite@handle',
21             'SocialiteProviders\GitLab\GitLabExtendSocialite@handle',
22         ],
23     ];
24
25     /**
26      * Register any other events for your application.
27      *
28      * @return void
29      */
30     public function boot()
31     {
32         parent::boot();
33     }
34 }