暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

BroadcastServiceProvider.php 380B

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