| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | public function __invoke(ContainerInterface $container): DatatransHandler |
||
| 14 | { |
||
| 15 | $entityManager = $container->get(EntityManager::class); |
||
| 16 | $rendered = $container->get(TemplateRendererInterface::class); |
||
| 17 | $config = $container->get('config'); |
||
| 18 | |||
| 19 | return new DatatransHandler($entityManager, $rendered, $config); |
||
| 20 | } |
||
| 22 |