]> BookStack Code Mirror - bookstack/blob - app/Providers/EventServiceProvider.php
Finished migration of last angular code
[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         ],
20     ];
21
22     /**
23      * Register any other events for your application.
24      *
25      * @return void
26      */
27     public function boot()
28     {
29         parent::boot();
30     }
31 }