25 lines
400 B
PHP
25 lines
400 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Providers;
|
||
|
|
||
|
use Illuminate\Support\ServiceProvider;
|
||
|
use Illuminate\Support\Facades\Broadcast;
|
||
|
|
||
|
class BroadcastServiceProvider extends ServiceProvider
|
||
|
{
|
||
|
/**
|
||
|
* Bootstrap any application services.
|
||
|
*
|
||
|
* @param \Illuminate\Bus\Dispatcher $dispatcher
|
||
|
* @return void
|
||
|
*/
|
||
|
public function boot()
|
||
|
{
|
||
|
Broadcast::routes();
|
||
|
|
||
|
require base_path('routes/channels.php');
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|