First complete upload on nas

This commit is contained in:
2024-09-18 11:20:28 +02:00
commit 4f086962fe
6456 changed files with 1232660 additions and 0 deletions
@@ -0,0 +1,36 @@
<?php
namespace Vanguard\Providers;
use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Facades\Broadcast;
class BroadcastServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
Broadcast::routes();
/*
* Authenticate the user's personal channel...
*/
Broadcast::channel('Vanguard.User.*', function ($user, $userId) {
return (int) $user->id === (int) $userId;
});
}
/**
* Register the service provider.
*
* @return void
*/
public function register()
{
//
}
}