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