| Total Complexity | 4 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 13 | final class CityService |
||
| 14 | { |
||
| 15 | private RequestToArrayTransformer $transformer; |
||
| 16 | private FilterRepository $repository; |
||
| 17 | |||
| 18 | public function __construct(RequestToArrayTransformer $transformer, FilterRepository $repository) |
||
| 19 | { |
||
| 20 | $this->transformer = $transformer; |
||
| 21 | $this->repository = $repository; |
||
| 22 | } |
||
| 23 | |||
| 24 | public function getSearchParams(Request $request, City $city): array |
||
| 30 | } |
||
| 31 | |||
| 32 | public function getProperties(array $searchParams): PaginationInterface |
||
| 35 | } |
||
| 36 | |||
| 37 | public function decorateOptions(array $siteOptions, City $city): array |
||
| 46 |