| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 6 | ||
| Bugs | 2 | Features | 1 |
| 1 | <?php |
||
| 55 | public function get($key, $type = null, $default = null) |
||
| 56 | { |
||
| 57 | $type = strtolower($type); |
||
| 58 | if (!empty($this->config[$type][$key])) { |
||
| 59 | return $this->config[$type][$key]; |
||
| 60 | } |
||
| 61 | |||
| 62 | $this->logger->addWarning('Config setting not found: ['.$type.']['.$key.']'); |
||
| 63 | |||
| 64 | return $default; |
||
| 65 | } |
||
| 66 | |||
| 83 |