aswi2020merlot-gitlab/app/Providers/BroadcastServiceProvider.php @ 3b97c440
1 | 5d28dbf4 | Marek Lovčí | <?php
|
---|---|---|---|
2 | |||
3 | namespace App\Providers; |
||
4 | |||
5 | use Illuminate\Support\Facades\Broadcast; |
||
6 | use Illuminate\Support\ServiceProvider; |
||
7 | |||
8 | class BroadcastServiceProvider extends ServiceProvider |
||
9 | {
|
||
10 | /**
|
||
11 | * Bootstrap any application services.
|
||
12 | *
|
||
13 | * @return void
|
||
14 | */
|
||
15 | public function boot() |
||
16 | {
|
||
17 | Broadcast::routes(); |
||
18 | |||
19 | require base_path('routes/channels.php'); |
||
20 | }
|
||
21 | }
|