1 | <?php |
||
8 | class SavedSearchReadRepositoryCollection |
||
9 | { |
||
10 | /** |
||
11 | * @var SavedSearchRepositoryInterface |
||
12 | */ |
||
13 | private $savedSearchRepositories; |
||
14 | |||
15 | /** |
||
16 | * @param SapiVersion $sapiVersion |
||
17 | * @param SavedSearchRepositoryInterface $savedSearchRepository |
||
18 | * @return SavedSearchReadRepositoryCollection |
||
19 | */ |
||
20 | public function withRepository( |
||
28 | |||
29 | /** |
||
30 | * @param SapiVersion $sapiVersion |
||
31 | * @return SavedSearchRepositoryInterface|null |
||
32 | */ |
||
33 | public function getRepository(SapiVersion $sapiVersion): ?SavedSearchRepositoryInterface |
||
41 | } |
||
42 |