| Conditions | 3 |
| Paths | 3 |
| Total Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 3 |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | 50 | public function __construct(array $config) |
|
| 10 | { |
||
| 11 | 50 | foreach ($config as $mutationName => $mutationConfig) { |
|
| 12 | 50 | $this->configObjects[$mutationName] = []; |
|
| 13 | 50 | foreach ($mutationConfig as $param => $cfg) { |
|
| 14 | 50 | $this->configObjects[$mutationName][$param] = new MutationConfigObject($cfg); |
|
| 15 | } |
||
| 16 | } |
||
| 17 | 50 | } |
|
| 18 | |||
| 27 |