3 namespace BookStack\Providers;
5 use Illuminate\Support\ServiceProvider;
7 class BroadcastServiceProvider extends ServiceProvider
10 * Bootstrap any application services.
14 public function boot()
16 // Broadcast::routes();
19 // * Authenticate the user's personal channel...
21 // Broadcast::channel('BookStack.User.*', function ($user, $userId) {
22 // return (int) $user->id === (int) $userId;