<?php  namespace App\Http\Controllers\Api;  use App\Models\Product; use App\Http\Controllers\Controller; use App\Http\Requests\SearchProducts; use App\Http\Resources\ProductResource; use Illuminate\Database\Eloquent\Builder; use Illuminate\Http\Resources\Json\JsonResource;  class ProductController extends Controller { 	public function index(SearchProducts $request): JsonResource{}  	public function single(Product $id): JsonResource{} }