EscolaLMS/Templates-PDF

View on GitHub
src/Providers/AuthServiceProvider.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
<?php

namespace EscolaLms\TemplatesPdf\Providers;

use EscolaLms\TemplatesPdf\Models\FabricPDF;
use EscolaLms\TemplatesPdf\Policies\TemplatePdfPolicy;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;

class AuthServiceProvider extends ServiceProvider
{
    protected $policies = [
        FabricPDF::class => TemplatePdfPolicy::class,
    ];

    public function boot()
    {
        $this->registerPolicies();
    }
}