Page MenuHomePhorge

channels.php
No OneTemporary

Authored By
Unknown
Size
508 B
Referenced Files
None
Subscribers
None

channels.php

<?php
/*
|--------------------------------------------------------------------------
| 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.User.{id}', function ($user, $id) {
return (int) $user->id === (int) $id;
});

File Metadata

Mime Type
text/x-php
Expires
Mon, Apr 6, 12:08 AM (1 w, 4 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
be/31/850d5c310e9526449eaf65167145
Default Alt Text
channels.php (508 B)

Event Timeline