| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 17 | protected function createQueryBuilder(RepositoryInterface $repository, EntityInterface $entity = null) |
||
| 18 | { |
||
| 19 | $abstractRepositoryCreateClosureMethod = new \ReflectionMethod($repository, 'createRepositoryCallClosure'); |
||
| 20 | $abstractRepositoryCreateClosureMethod->setAccessible(true); |
||
| 21 | |||
| 22 | return new QueryBuilder($abstractRepositoryCreateClosureMethod->invoke($repository), $entity); |
||
| 23 | } |
||
| 25 |