Conditions | 2 |
Paths | 2 |
Total Lines | 14 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
13 | public function __invoke(ContainerInterface $container) |
||
14 | { |
||
15 | $config = $container->get('config'); |
||
16 | $pathStackResolver = new PathStackResolver(); |
||
17 | $paths = array(); |
||
18 | |||
19 | if (isset($config['asset_manager']['resolver_configs']['paths'])) { |
||
20 | $paths = $config['asset_manager']['resolver_configs']['paths']; |
||
21 | } |
||
22 | |||
23 | $pathStackResolver->addPaths($paths); |
||
24 | |||
25 | return $pathStackResolver; |
||
26 | } |
||
27 | } |
||
28 |