backend notifications implementation

This commit is contained in:
Čarodej
2022-03-10 11:49:02 +01:00
parent 70d7f2f5bd
commit 64e80d387b
20 changed files with 617 additions and 280 deletions

View File

@@ -11,8 +11,4 @@
|
*/
//Broadcast::channel('App.User.{id}', fn ($user, $id) => (int) $user->id === (int) $id);
Broadcast::channel('test.{id}', function ($user, $id) {
return true;
});
Broadcast::channel('App.Users.Models.User.{id}', fn ($user, $id) => $user->id === $id);