laravel-demo-app/app/Providers/BroadcastServiceProvider.php

20 lines
359 B
PHP
Raw Normal View History

2023-10-24 23:32:25 +02:00
<?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');
}
}