| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 2 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 26 | public function __invoke( |
||
| 27 | ContainerInterface $container, |
||
| 28 | $requestedName, |
||
| 29 | array $options = null |
||
| 30 | ): EntityRepositoryFactory { |
||
| 31 | /** @var EntityRepositoryManager $repositoryManager */ |
||
| 32 | $repositoryManager = $this->getService($container, EntityRepositoryManager::class, $requestedName); |
||
| 33 | |||
| 34 | return new EntityRepositoryFactory($repositoryManager, new DefaultRepositoryFactory()); |
||
| 35 | } |
||
| 37 |