<?php
 namespace App\Http\Requests\Admin\AdminManagement; use Illuminate\Foundation\Http\FormRequest; class AdminManagementDestroyRequest extends FormRequest { public function authorize(): bool { return $this->user()->can('delete', $this->route('admin')); } public function rules(): array { return [ ]; } } 