1 | <?php |
||
7 | final class Resolver implements ResolverInterface |
||
8 | { |
||
9 | /** |
||
10 | * @param RepositoryInterface $repository |
||
11 | * @param string $id |
||
12 | * @return \Closure |
||
13 | */ |
||
14 | public function findResolver(RepositoryInterface $repository, string $id): \Closure |
||
20 | |||
21 | /** |
||
22 | * @param RepositoryInterface $repository |
||
23 | * @param array $criteria |
||
24 | * @return \Closure |
||
25 | */ |
||
26 | public function findOneByResolver(RepositoryInterface $repository, array $criteria): \Closure |
||
32 | |||
33 | /** |
||
34 | * @param RepositoryInterface $repository |
||
35 | * @param array $criteria |
||
36 | * @param array|null $orderBy |
||
37 | * @param int|null $limit |
||
38 | * @param int|null $offset |
||
39 | * @return LazyPersistedModelCollection |
||
40 | */ |
||
41 | public function findByCollection( |
||
52 | } |
||
53 |