| Conditions | 3 |
| Paths | 3 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 1 | Features | 1 |
| 1 | <?php |
||
| 40 | public function getReferenceValue($stringIdentifier) |
||
| 41 | { |
||
| 42 | foreach ($this->resolvers as $resolver) { |
||
| 43 | if ($resolver->isReference($stringIdentifier)) { |
||
| 44 | return $resolver->getReferenceValue($stringIdentifier); |
||
| 45 | } |
||
| 46 | } |
||
| 47 | |||
| 48 | throw \Exception("Could not resolve reference with identifier: '$stringIdentifier'"); |
||
| 49 | } |
||
| 50 | } |