| Total Complexity | 4 |
| Total Lines | 59 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | class LocationDto |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * Vacancy URL for parsing |
||
| 25 | * Response format depends on search strategy |
||
| 26 | * |
||
| 27 | * @var string |
||
| 28 | */ |
||
| 29 | private $vacancyUrl; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Context of roadmap by which the vacancy was found |
||
| 33 | * |
||
| 34 | * @var RoadmapDto |
||
| 35 | */ |
||
| 36 | private $roadmap; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Returns vacancy URL |
||
| 40 | * |
||
| 41 | * @return string|null |
||
| 42 | */ |
||
| 43 | public function getVacancyUrl(): ?string |
||
| 44 | { |
||
| 45 | return $this->vacancyUrl; |
||
| 46 | } |
||
| 47 | |||
| 48 | /** |
||
| 49 | * Sets vacancy URL |
||
| 50 | * |
||
| 51 | * @param string $vacancyUrl Vacancy URL for parsing |
||
| 52 | * |
||
| 53 | * @return void |
||
| 54 | */ |
||
| 55 | public function setVacancyUrl(string $vacancyUrl): void |
||
| 58 | } |
||
| 59 | |||
| 60 | /** |
||
| 61 | * Returns context of roadmap by which the vacancy was found |
||
| 62 | * |
||
| 63 | * @return RoadmapDto|null |
||
| 64 | */ |
||
| 65 | public function getRoadmap(): ?RoadmapDto |
||
| 68 | } |
||
| 69 | |||
| 70 | /** |
||
| 71 | * Sets context of roadmap by which the vacancy was found |
||
| 72 | * |
||
| 73 | * @param RoadmapDto $roadmap Context of roadmap by which the vacancy was found |
||
| 74 | * |
||
| 75 | * @return void |
||
| 76 | */ |
||
| 77 | public function setRoadmap(RoadmapDto $roadmap): void |
||
| 82 |