tethys/app/Providers/BroadcastServiceProvider.php

23 lines
435 B
PHP
Raw Permalink Normal View History

<?php
2018-08-06 12:30:51 +00:00
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Facades\Broadcast;
class BroadcastServiceProvider extends ServiceProvider
2018-08-06 12:30:51 +00:00
{
/**
* Bootstrap any application services.
*
* @param \Illuminate\Bus\Dispatcher $dispatcher
* @return void
*/
public function boot()
{
Broadcast::routes();
2018-08-06 12:30:51 +00:00
require base_path('routes/channels.php');
}
2018-08-06 12:30:51 +00:00
}