| Conditions | 2 |
| Paths | 2 |
| Total Lines | 14 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 9 |
| CRAP Score | 2.004 |
| Changes | 0 | ||
| 1 | <?php |
||
| 76 | 2 | public function loadConfig($configFile) |
|
| 77 | 1 | { |
|
| 78 | 2 | if (!empty($configFile)) { |
|
| 79 | 2 | $config = Yaml::parse($configFile); |
|
| 80 | |||
| 81 | 2 | $processor = new Processor(); |
|
| 82 | 2 | $processedConfiguration = $processor->processConfiguration( |
|
| 83 | 2 | new Configuration(), |
|
| 84 | $config |
||
| 85 | 2 | ); |
|
| 86 | |||
| 87 | 1 | return $processedConfiguration; |
|
| 88 | } |
||
| 89 | } |
||
| 90 | |||
| 92 |