| Conditions | 3 |
| Paths | 2 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 3 |
| Changes | 2 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 22 | 13 | public function get($name, $default = null) |
|
| 23 | { |
||
| 24 | 13 | $return = $this->callAccessors('get', $name); |
|
| 25 | 13 | if (is_string($return) && $return == Constants::NO_ACCESSORS_FOUND) { |
|
| 26 | 6 | return $this->transformValue($name, $this->getPropertyValue($name, $default)); |
|
| 27 | } |
||
| 28 | 7 | return $return; |
|
| 29 | } |
||
| 45 |