<?php

namespace App\Providers;

use App\Models\User;
use App\Policies\ProfilePolicy;
use App\Policies\UserPolicy;
use Illuminate\Support\ServiceProvider;

class AppServiceProvider extends ServiceProvider
{
    /**
     * Register any application services.
     */
    public function register(): void
    {
        //
    }

    /**
     * Bootstrap any application services.
     */
    public function boot(): void
    {
        //
    }

    protected $policies = [
        \App\Models\User::class => \App\Policies\UserPolicy::class,
        User::class => UserPolicy::class,
        'profile'   => ProfilePolicy::class,
    ];

}
