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