Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
24 | public function __invoke(ContainerInterface $container) |
||
25 | { |
||
26 | /** @var ImageService $imageService */ |
||
27 | $imageService = $container->get(ImageService::class); |
||
28 | /** @var CacheManager $cacheManager */ |
||
29 | $cacheManager = $container->get(CacheManager::class); |
||
30 | /** @var ModuleOptions $options */ |
||
31 | $options = $container->get(ModuleOptions::class); |
||
32 | |||
33 | return new ImageController($imageService, $cacheManager, $options); |
||
34 | } |
||
35 | } |
||
36 |