| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | public function toArray($request) |
||
| 17 | { |
||
| 18 | return array_merge(parent::toArray($request), [ |
||
| 19 | 'applicant' => new ApplicantResource($this->whenLoaded('applicant')), |
||
| 20 | 'application_review' => new JsonResource($this->whenLoaded('application_review')), |
||
| 21 | 'citizenship_declaration' => new JsonResource($this->whenLoaded('citizenship_declaration')), |
||
| 22 | 'veteran_status' => new JsonResource($this->whenLoaded('veteran_status')), |
||
| 23 | 'job_application_answers' => new JsonResource($this->whenLoaded('job_application_answers')), |
||
| 24 | 'job_application_steps' => new JsonResource($this->jobApplicationSteps()), |
||
| 25 | 'meets_essential_criteria' => $this->meets_essential_criteria, |
||
| 26 | ]); |
||
| 29 |