public function getArticleUrl(JsonSerializationVisitor $visitor, $data, $type) { $articleUrl = $this->linkService->getLink($data); return $articleUrl; }