Hoschis Vollpfosten First Commit

This commit is contained in:
Torsten 2017-06-20 08:43:36 +02:00
parent b52a6fade5
commit 0736ecf29f
112 changed files with 9777 additions and 0 deletions

View file

@ -0,0 +1,16 @@
<?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;
});