repository = $repository; } /** * @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->repository->getContentService()->loadContentByRemoteId($ref['identifier'])->id; } } }