Files
exchange/routes/channels.php
T
Jack Goh d295b5d9b4 removed some .env-example duplication config
updated rate updated event
added listener to user home page
2018-08-16 17:08:15 +08:00

17 lines
483 B
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 true;
});