laravel-teste/app/Providers/BroadcastServiceProvider.php

22 lines
380 B
PHP
Raw Permalink Normal View History

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