| Conditions | 3 |
| Paths | 3 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 26 | public function fetch($name) { |
||
| 27 | $value = $this->storage->fetch(self::DI_VALUE_PREFIX.$name); |
||
| 28 | if ($value !== null) |
||
| 29 | return $value; |
||
| 30 | |||
| 31 | $alias = $this->storage->fetch(self::DI_ALIAS_PREFIX.$name); |
||
| 32 | if ($alias !== null) |
||
| 33 | return $this->storage->fetch(self::DI_VALUE_PREFIX.$alias); |
||
| 34 | |||
| 35 | return null; |
||
| 36 | } |
||
| 51 | } |