Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
44 | public function findBy( |
||
45 | RepositoryInterface $repository, |
||
46 | array $criteria, array |
||
47 | $orderBy = null, |
||
48 | int $limit = null, |
||
49 | int $offset = null |
||
50 | ): ModelCollection { |
||
51 | return new LazyModelCollection(function () use ($repository, $criteria, $orderBy, $limit, $offset) { |
||
52 | return $repository->findBy($criteria, $orderBy, $limit, $offset); |
||
53 | }); |
||
54 | } |
||
55 | } |
||
56 |