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