repo_pattern/app/Providers/BroadcastServiceProvider.php
2024-02-13 12:28:14 +05:45

20 lines
359 B
PHP

<?php
namespace App\Providers;
use Illuminate\Support\Facades\Broadcast;
use Illuminate\Support\ServiceProvider;
class BroadcastServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*/
public function boot(): void
{
Broadcast::routes();
require base_path('routes/channels.php');
}
}