| Conditions | 2 |
| Paths | 4 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 6 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 24 | public function process(ContainerBuilder $container): void |
||
| 25 | { |
||
| 26 | try { |
||
| 27 | $rootPaths = $container->getDefinition('liip_imagine.binary.loader.default')->getArgument(2)->getArgument(0); |
||
| 28 | |||
| 29 | $container->getDefinition(PathResolver::class) |
||
| 30 | ->setArgument('$roots', $rootPaths); |
||
| 31 | $container->getDefinition(FileUploader::class) |
||
| 32 | ->setArgument('$rootPaths', $rootPaths); |
||
| 33 | } catch (ServiceNotFoundException $e) { |
||
|
|
|||
| 34 | } |
||
| 37 |