<?php  namespace App\Http\Controllers\Api;  use App\Models\Discount; use App\Http\Controllers\Controller; use App\Http\Resources\DiscountResource; use Illuminate\Http\Resources\Json\JsonResource;  class DiscountController extends Controller { 	public function index(): JsonResource{}  	public function single(Discount $id): JsonResource{} }