Initial Commit !

Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
2020-02-11 13:55:39 +01:00
parent a18abe8e03
commit 543d104c7c
232 changed files with 49648 additions and 22 deletions

16
routes/channels.php Normal file
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;
});