<?php  namespace App\Http\Controllers\Api;  use App\Models\Answer; use App\Models\Domain; use App\Models\Location; use App\Models\Applicant; use App\Models\Department; use Illuminate\Validation\Rule; use App\Http\Requests\SubmitAnswer; use App\Http\Controllers\Controller; use App\Http\Requests\ApplicantCode; use App\Http\Resources\AnswerResource; use App\Http\Requests\SubmitAnswerPuls; use App\Services\Applicants\ApplicantService; use App\Http\Resources\AnswerApplicantResource; use Illuminate\Http\Resources\Json\JsonResource;  class AnswerController extends Controller { 	public function index(Domain $domain, ApplicantCode $request): JsonResource{}  	public function single(Domain $domain, Answer $id, ApplicantCode $request): JsonResource{}  	public function createOrUpdate(Domain $domain, SubmitAnswer $request, ApplicantService $applicantService): JsonResource{}  	public function createOrUpdatePuls(Domain $domain, SubmitAnswerPuls $request, ApplicantService $applicantService): JsonResource{} }