Files
web-ft-untan/routes/channels.php
T
izuandClaude Opus 5.5 5f264c815a Web FT UNTAN (Laravel 8) versi lama + dump database ftuntan_web_profil
Kode dari ftuntan_main dengan dependensi diperbarui untuk PHP 8.3
(perbaikan insiden 27 Okt 2026). Dump database di database/sql/.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 13:31:52 +07:00

19 lines
558 B
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;
});