| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | 1 | public function load(array $config, ContainerBuilder $container) |
|
| 21 | { |
||
| 22 | 1 | $configuration = new Configuration(); |
|
| 23 | 1 | $config = $this->processConfiguration($configuration, $config); |
|
| 24 | |||
| 25 | 1 | $loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
| 26 | 1 | $loader->load('services.xml'); |
|
| 27 | |||
| 28 | 1 | $container->findDefinition('flagbit_currency') |
|
| 29 | 1 | ->setArgument(1, $config['default_currency']); |
|
| 30 | 1 | } |
|
| 31 | } |
||
| 32 |