| Conditions | 3 |
| Paths | 3 |
| Total Lines | 15 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 3 |
| Changes | 0 | ||
| 1 | <?php |
||
| 34 | 1 | public function internalBuild(ConfigurationInterface $configuration) |
|
| 35 | { |
||
| 36 | 1 | $config = []; |
|
| 37 | 1 | foreach ($this->yamlConfigurationFilenames as $yamlConfigurationFilename) { |
|
| 38 | 1 | if (file_exists($yamlConfigurationFilename)) { |
|
| 39 | 1 | $config = DotAccessDataUtil::mergeAssocArray( |
|
| 40 | 1 | $config, Yaml::parse(file_get_contents($yamlConfigurationFilename)) |
|
| 41 | ); |
||
| 42 | } |
||
| 43 | } |
||
| 44 | |||
| 45 | 1 | $configuration->importRaw($config); |
|
| 46 | |||
| 47 | 1 | return $configuration; |
|
| 48 | } |
||
| 49 | } |
||
| 50 |