| Total Complexity | 3 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class LocationResolver extends AbstractResolver |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * Defines the prefix for all reference identifier strings in definitions |
||
| 16 | */ |
||
| 17 | protected $referencePrefixes = array('location:' /*, 'location_remote_id:'*/); |
||
| 18 | |||
| 19 | protected $locationMatcher; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param LocationMatcher $locationMatcher |
||
| 23 | */ |
||
| 24 | public function __construct(LocationMatcher $locationMatcher) |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @param $stringIdentifier location:<remote_id> |
||
| 33 | * @return string Location id |
||
| 34 | * @throws \Exception |
||
| 35 | */ |
||
| 36 | public function getReferenceValue($stringIdentifier) |
||
| 48 |