Newscoop\GimmeBundle\Serializer\Article\UrlHandler::getArticleUrl PHP Method

getArticleUrl() public method

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