Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 9 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
24 | 2 | public function load(array $configs, ContainerBuilder $container) |
|
25 | { |
||
26 | 2 | $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
27 | 2 | $loader->load('services.yml'); |
|
28 | |||
29 | 2 | $config = $this->processConfiguration(new Configuration(), $configs); |
|
30 | |||
31 | 2 | $container->getDefinition('anime_db.anime_news_network.browser') |
|
32 | 2 | ->replaceArgument(2, $config['host']) |
|
33 | 2 | ->replaceArgument(3, $config['reports']) |
|
34 | 2 | ->replaceArgument(4, $config['details']) |
|
35 | 2 | ->replaceArgument(5, $config['client']) |
|
36 | ; |
||
39 |