<?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; });
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
admin.php | File | 4.69 KB | 0644 |
|
api.php | File | 570 B | 0644 |
|
channels.php | File | 558 B | 0644 |
|
console.php | File | 592 B | 0644 |
|
web.php | File | 2.22 KB | 0644 |
|