contentMatcher = $contentMatcher; } /** * @param $stringIdentifier format: content_remote_id: * @return string Content id * @throws \Exception */ public function getReferenceValue($stringIdentifier) { $ref = $this->getReferenceIdentifierByPrefix($stringIdentifier); switch ($ref['prefix']) { case 'content_remote_id:': return $this->contentMatcher->matchOne(array(ContentMatcher::MATCH_CONTENT_REMOTE_ID => $ref['identifier']))->id; } } }