Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
15 | public function __invoke(ContainerInterface $container): UploadHandler |
||
16 | { |
||
17 | $dm = $container->get(DocumentManager::class); |
||
18 | $fileManager = $container->get(FileManager::class); |
||
19 | $appRepo = $dm->getRepository(Application::class); |
||
20 | |||
21 | return new UploadHandler($dm, $fileManager, $appRepo); |
||
22 | } |
||
23 | } |