2018-01-26 14:35:01 +00:00
|
|
|
<?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.
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2018-02-04 17:38:41 +00:00
|
|
|
/*Broadcast::channel('App.User.{id}', function ($user, $id) {
|
2018-01-26 14:35:01 +00:00
|
|
|
return (int) $user->id === (int) $id;
|
2018-02-04 17:38:41 +00:00
|
|
|
});*/
|