Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 4 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
23 | public function load(array $configs, ContainerBuilder $container) |
||
24 | { |
||
25 | $processor = new Processor(); |
||
26 | $configuration = new Configuration(); |
||
27 | $config = $processor->processConfiguration($configuration, $configs); |
||
28 | $config['cdn'] = CdnHelper::createInstance()->filterCdn($config['cdn']); |
||
29 | $container->setParameter('jquery', $config); |
||
30 | $container->setParameter('jquery.local', $config['local']); |
||
31 | $loader = new YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
||
32 | $loader->load('services.yml'); |
||
33 | } |
||
34 | |||
43 |