| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | public function __invoke(ContainerInterface $container): CategoryService |
||
| 23 | { |
||
| 24 | $config = $container->get('config')['upload']; |
||
| 25 | $upload = new Upload($config['public_path'], $config['non_public_path']); |
||
| 26 | |||
| 27 | return new CategoryService( |
||
| 28 | $container->get(CategoryMapper::class), |
||
| 29 | $container->get(CategoryFilter::class), |
||
| 30 | $upload |
||
| 31 | ); |
||
| 32 | } |
||
| 33 | } |
||
| 34 |