<?php  namespace App\Http\Controllers\Api;  use App\Models\Product; use App\Models\Category; use App\Http\Controllers\Controller; use App\Http\Requests\FilterProduct; use App\Http\Requests\SearchCategory; use App\Http\Resources\CategoryResource; use App\Http\Resources\ProductListResource; use Illuminate\Http\Resources\Json\JsonResource;  class CategoryController extends Controller { 	public function index(SearchCategory $request): JsonResource{}  	public function single(string $category): CategoryResource{}  	public function products(string $category, FilterProduct $request): JsonResource{} }