diff options
author | Fbenas <philbeansburton@gmail.com> | 2020-09-20 22:08:03 +0100 |
---|---|---|
committer | Fbenas <philbeansburton@gmail.com> | 2020-09-20 22:08:03 +0100 |
commit | 9be73c2d0f21a539bc46974139e8c36c12845ca0 (patch) | |
tree | 3442d2254797983e7e0294c9aee00e90aa643109 /app/Providers/BroadcastServiceProvider.php |
Initial commit
Diffstat (limited to 'app/Providers/BroadcastServiceProvider.php')
-rw-r--r-- | app/Providers/BroadcastServiceProvider.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/app/Providers/BroadcastServiceProvider.php b/app/Providers/BroadcastServiceProvider.php new file mode 100644 index 0000000..395c518 --- /dev/null +++ b/app/Providers/BroadcastServiceProvider.php @@ -0,0 +1,21 @@ +<?php + +namespace App\Providers; + +use Illuminate\Support\Facades\Broadcast; +use Illuminate\Support\ServiceProvider; + +class BroadcastServiceProvider extends ServiceProvider +{ + /** + * Bootstrap any application services. + * + * @return void + */ + public function boot() + { + Broadcast::routes(); + + require base_path('routes/channels.php'); + } +} |