| Conditions | 2 |
| Paths | 2 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 6 |
| Changes | 0 | ||
| 1 | <?php |
||
| 36 | public function getReferenceValue($stringIdentifier) |
||
| 37 | { |
||
| 38 | $ref = $this->getReferenceIdentifierByPrefix($stringIdentifier); |
||
| 39 | switch ($ref['prefix']) { |
||
| 40 | // deprecated tag: 'location:' |
||
| 41 | case 'location:': |
||
| 42 | return $this->locationMatcher->MatchOne(array(LocationMatcher::MATCH_LOCATION_REMOTE_ID => $ref['identifier']))->id; |
||
| 43 | //case 'location_remote_id:': |
||
| 48 |