| Conditions | 6 |
| Paths | 6 |
| Total Lines | 26 |
| Code Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 10 |
| CRAP Score | 6.8395 |
| Changes | 4 | ||
| Bugs | 2 | Features | 0 |
| 1 | <?php |
||
| 30 | * {@inheritdoc} |
||
| 31 | */ |
||
| 32 | 2 | public function process(ContainerBuilder $containerBuilder) |
|
| 33 | { |
||
| 34 | 2 | foreach ($containerBuilder->getDefinitions() as $definition) { |
|
| 35 | 2 | if ($this->definitionAnalyzer->shouldDefinitionBeAutowired($definition)) { |
|
| 36 | 2 | $definition->setAutowired(true); |
|
| 37 | } |
||
| 38 | } |
||
| 39 | 2 | } |
|
| 40 | } |
||
| 41 |