PHP 7.4.33
Preview: channels.php Size: 558 B
/var/www/multi-event-cfp.bitkit.dk/httpdocs/routes/channels.php
<?php

use Illuminate\Support\Facades\Broadcast;

/*
|--------------------------------------------------------------------------
| Broadcast Channels
|--------------------------------------------------------------------------
|
| Here you may register all of the event broadcasting channels that your
| application supports. The given channel authorization callbacks are
| used to check if an authenticated user can listen to the channel.
|
*/

Broadcast::channel('App.Models.User.{id}', function ($user, $id) {
    return (int) $user->id === (int) $id;
});

Directory Contents

Dirs: 0 × Files: 4
Name Size Perms Modified Actions
566 B lrw-r--r-- 2024-02-09 12:37:30
Edit Download
558 B lrw-r--r-- 2024-02-09 12:37:30
Edit Download
73.49 KB lrw-rw-r-- 2025-12-10 06:13:17
Edit Download
18.52 KB lrw-rw-r-- 2026-04-22 04:32:10
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).