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