1 | <?php |
||
5 | final class Resolver implements ResolverInterface |
||
6 | { |
||
7 | /** |
||
8 | * @param RepositoryInterface $repository |
||
9 | * @param string $id |
||
10 | * |
||
11 | * @return \Closure |
||
12 | */ |
||
13 | public function find(RepositoryInterface $repository, string $id): \Closure |
||
19 | |||
20 | /** |
||
21 | * @param RepositoryInterface $repository |
||
22 | * @param array $criteria |
||
23 | * |
||
24 | * @return \Closure |
||
25 | */ |
||
26 | public function findOneBy(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 | * |
||
40 | * @return \Closure |
||
41 | */ |
||
42 | public function findBy( |
||
53 | } |
||
54 |