| Conditions | 4 |
| Paths | 4 |
| Total Lines | 13 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 4.1755 |
| Changes | 0 | ||
| 1 | <?php |
||
| 58 | 1 | public function get($configName) |
|
| 59 | { |
||
| 60 | 1 | foreach ($this->storage->sources as $configs) |
|
| 61 | { |
||
| 62 | 1 | foreach ($configs as $name => $config) |
|
| 63 | { |
||
| 64 | 1 | if ($name === $configName) |
|
| 65 | 1 | { |
|
| 66 | 1 | return EmbeDi::fly($this->_instanceId, $this->_presetId)->apply($config); |
|
| 67 | } |
||
| 68 | 1 | } |
|
| 69 | } |
||
| 70 | } |
||
| 71 | |||
| 73 |