Laravel_api/app/Providers/BroadcastServiceProvider.php

22 lines
380 B
PHP
Raw Normal View History

2019-03-01 14:08:34 +08:00
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Facades\Broadcast;
class BroadcastServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
Broadcast::routes();
require base_path('routes/channels.php');
}
}