| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | public function load(array $configs, ContainerBuilder $container) |
||
| 21 | { |
||
| 22 | $configuration = new Configuration(); |
||
| 23 | $config = $this->processConfiguration($configuration, $configs); |
||
| 24 | |||
| 25 | $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
||
| 26 | $loader->load('services.yml'); |
||
| 27 | |||
| 28 | $appPrefix = $config['application_prefix'] ? rtrim($config['application_prefix'], '.') . '.' : null; |
||
| 29 | $container->setParameter('statsd_application_prefix', $appPrefix); |
||
| 30 | } |
||
| 31 | } |
||
| 32 |