<?php

declare(strict_types=1);

namespace Seka\Portal\Modul\Vzdelavanie\Providers;

use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
use Seka\Portal\Modul\Vzdelavanie\Models\Pouzivatel\Testovanie\Policies\TestPolicy;
use Seka\Portal\Modul\Vzdelavanie\Models\Pouzivatel\Testovanie\Test;

/**
 * Class AuthServiceProvider
 *
 * @package Seka\Portal\Modul\Vzdelavanie\Providers
 */
final class AuthServiceProvider extends ServiceProvider
{
    /**
     * The policy mappings for the application.
     *
     * @var array
     */
    protected $policies = [
        Test::class => TestPolicy::class,
    ];

    /**
     * Register any authentication / authorization services.
     *
     * @return void
     */
    public function boot()
    {
        $this->registerPolicies();
    }
}
