File manager - Edit - /var/www/html/homologBancodetalentos/app/Http/Resources/TalentBank/Candidate/EducationResource.php
Back
<?php namespace App\Http\Resources\TalentBank\Candidate; use Illuminate\Http\Resources\Json\JsonResource; class EducationResource extends JsonResource { public function toArray($request): array { return [ 'id' => $this->id, 'candidate_id' => $this->candidate_id, 'education_level' => $this->educationLevel()->get(['id', 'name'])->first(), 'academic_discipline' => $this->academicDiscipline()->get(['id', 'name'])->first(), 'institution' => $this->institution, 'specialization' => $this->specialization, 'date_start' => $this->date_start, 'date_end' => $this->date_end, ]; } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.28 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings