| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | public function load(array $config, ContainerBuilder $container): void |
||
| 20 | { |
||
| 21 | $config = $this->processConfiguration($this->getConfiguration([], $container), $config); |
||
| 22 | $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
||
| 23 | |||
| 24 | $container->setParameter('setono.tiny_png.api_key', $config['api_key']); |
||
| 25 | $container->setParameter('setono.tiny_png.proxy', $config['proxy']); |
||
| 26 | |||
| 27 | $loader->load('services.xml'); |
||
| 28 | } |
||
| 30 |