Total Complexity | 2 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
25 | final readonly class RaLocationService |
||
26 | { |
||
27 | public function __construct(private ApiRaLocationService $apiService) |
||
28 | { |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * @param $institution |
||
33 | * @return RaLocationCollection |
||
34 | */ |
||
35 | public function listRaLocationsFor($institution) |
||
36 | { |
||
37 | $query = new RaLocationSearchQuery($institution); |
||
38 | |||
39 | return $this->apiService->search($query); |
||
40 | } |
||
41 | } |
||
42 |