<?php  namespace App\Http\Controllers\Api;  use App\Models\Product; use App\Models\Discount; use App\Http\Requests\LangRequest; use Illuminate\Support\Facades\DB; use App\Http\Controllers\Controller; use App\Http\Resources\DiscountResource; use App\Http\Resources\ProductListResource; use Illuminate\Http\Resources\Json\JsonResource;  class DiscountController extends Controller { 	public function index(): JsonResource{}  	public function products(LangRequest $request, Discount $id): JsonResource{}  	public function allProductsOnDiscount(LangRequest $request): JsonResource{}  	public function checkCouponCode(Discount $discount): JsonResource{} }