2026-05-29 00:33:00 +03:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace App\Providers;
|
|
|
|
|
|
2026-05-29 09:37:07 +03:00
|
|
|
use App\Models\UserGame;
|
|
|
|
|
use App\Policies\UserGamePolicy;
|
|
|
|
|
use Illuminate\Support\Facades\Gate;
|
2026-05-29 00:33:00 +03:00
|
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
|
|
|
|
|
|
class AppServiceProvider extends ServiceProvider
|
|
|
|
|
{
|
|
|
|
|
/**
|
|
|
|
|
* Register any application services.
|
|
|
|
|
*/
|
|
|
|
|
public function register(): void
|
|
|
|
|
{
|
|
|
|
|
//
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Bootstrap any application services.
|
|
|
|
|
*/
|
|
|
|
|
public function boot(): void
|
|
|
|
|
{
|
2026-05-29 09:37:07 +03:00
|
|
|
Gate::policy(UserGame::class, UserGamePolicy::class);
|
2026-05-29 00:33:00 +03:00
|
|
|
}
|
|
|
|
|
}
|