hypothetical/app/Providers/BroadcastServiceProvider.php

20 lines
359 B
PHP
Raw Normal View History

2016-08-19 16:38:49 -04:00
<?php
namespace App\Providers;
use Illuminate\Support\Facades\Broadcast;
2019-10-31 17:24:53 -04:00
use Illuminate\Support\ServiceProvider;
2016-08-19 16:38:49 -04:00
class BroadcastServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*/
2023-03-13 17:33:19 -04:00
public function boot(): void
2016-08-19 16:38:49 -04:00
{
Broadcast::routes();
2017-01-26 19:17:37 -05:00
require base_path('routes/channels.php');
2016-08-19 16:38:49 -04:00
}
}