BroadcastServiceProvider.php 343 B

12345678910111213141516171819
  1. <?php
  2. namespace App\Providers;
  3. use Illuminate\Support\Facades\Broadcast;
  4. use Illuminate\Support\ServiceProvider;
  5. class BroadcastServiceProvider extends ServiceProvider {
  6. /**
  7. * Bootstrap any application services.
  8. *
  9. * @return void
  10. */
  11. public function boot() {
  12. Broadcast::routes();
  13. require base_path('routes/channels.php');
  14. }
  15. }