testlara/app/Providers/BroadcastServiceProvider.php
2023-10-27 19:59:05 +03:00

20 lines
359 B
PHP
Executable File

<?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');
}
}