<?php namespace App\Providers; use Illuminate\Support\ServiceProvider; use Illuminate\Support\Facades\Gate; use App\Models\{Employee,Intern,Project,Expense,LeaveRequest,PayrollBatch,AttendanceRegularization,Asset}; use App\Policies\{EmployeePolicy,InternPolicy,ProjectPolicy,ExpensePolicy,LeaveRequestPolicy,PayrollBatchPolicy,AttendanceRegularizationPolicy,AssetPolicy}; class AppServiceProvider extends ServiceProvider{public function register():void{} public function boot():void{Gate::policy(Employee::class,EmployeePolicy::class);Gate::policy(Intern::class,InternPolicy::class);Gate::policy(Project::class,ProjectPolicy::class);Gate::policy(Expense::class,ExpensePolicy::class);Gate::policy(LeaveRequest::class,LeaveRequestPolicy::class);Gate::policy(PayrollBatch::class,PayrollBatchPolicy::class);Gate::policy(AttendanceRegularization::class,AttendanceRegularizationPolicy::class);Gate::policy(Asset::class,AssetPolicy::class);}}