<?php  namespace App\Http\Controllers\Api;  use App\Models\Pasta; use App\Models\Domain; use App\Http\Controllers\Controller; use App\Http\Resources\PastaListResource; use App\Http\Resources\PastaSingleResource; use Illuminate\Http\Resources\Json\JsonResource;  class PastaController extends Controller { 	public function index(Domain $domain): JsonResource{}  	public function single(Domain $domain, string $slug): PastaSingleResource{} }