public function loadContentInfo($contentId) { $response = $this->client->request('GET', $contentId, new Message(array('Accept' => $this->outputVisitor->getMediaType('ContentInfo')))); $restContentInfo = $this->inputDispatcher->parse($response); return $this->completeContentInfo($restContentInfo); }
/** * Content of the content this version belongs to. * * @return ContentInfo */ public function getContentInfo() { return $this->contentService->loadContentInfo($this->contentInfoId); }