| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 51 | public function resolveByParsedDto(ParsedDto $scanResult): ?Vacancy |
||
| 52 | { |
||
| 53 | $location = $scanResult->getLocation(); |
||
| 54 | $roadmap = $location->getRoadmap(); |
||
| 55 | $roadmapName = $roadmap->getName(); |
||
| 56 | |||
| 57 | $vacancy = $scanResult->getVacancy(); |
||
| 58 | $externalIdentifier = $vacancy->getExternalIdentifier(); |
||
| 59 | |||
| 60 | $entity = $this->vacancyRepository->findByRoadmapNameAndExternalIdentifier($roadmapName, $externalIdentifier); |
||
| 61 | |||
| 62 | return $entity; |
||
| 63 | } |
||
| 65 |