Conditions | 1 |
Paths | 1 |
Total Lines | 16 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
59 | public function dehydrate(Job $job) |
||
60 | { |
||
61 | return array( |
||
62 | 'title' => $job->getTitle(), |
||
63 | 'location' => $job->getLocation(), |
||
64 | 'link' => $this->jobUrl->__invoke($job,['linkOnly'=> true]), |
||
65 | 'organization' => array( |
||
66 | 'name' => $job->getOrganization()->getOrganizationName()->getName(), |
||
67 | ), |
||
68 | 'template_values' => array( |
||
69 | 'requirements' => $job->getTemplateValues()->getRequirements(), |
||
70 | 'qualification' => $job->getTemplateValues()->getQualifications(), |
||
71 | 'benefits' => $job->getTemplateValues()->getBenefits() |
||
72 | ) |
||
73 | ); |
||
74 | } |
||
75 | |||
90 |