| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 50 | public function getConfig(){ |
||
| 51 | $config = $this->configMapper->getByBackend($this->getId()); |
||
| 52 | $defaultConfig = $this->getDefaultConfig(); |
||
| 53 | |||
| 54 | $configNotInDB = array_diff_key($defaultConfig, $config); |
||
| 55 | foreach ($configNotInDB as $key=>$value){ |
||
| 56 | $config[$key] = $value; |
||
| 57 | } |
||
| 58 | return $config; |
||
| 59 | } |
||
| 60 | |||
| 61 | } |