| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 26 | public function process(ContainerBuilder $container): void |
||
| 27 | { |
||
| 28 | $config = self::getConfiguration($container); |
||
| 29 | $isPublic = (bool) ($config['test'] ?? null); |
||
| 30 | |||
| 31 | $container |
||
| 32 | ->getDefinition(Adapter::class) |
||
| 33 | ->setFactory([PrometheusStorageAdapterFactory::class, 'createStorageAdapter']) |
||
| 34 | ->setArgument('$configuration', self::getConfiguration($container)) |
||
| 35 | ->setPublic($isPublic); |
||
| 36 | } |
||
| 43 |