Newscoop\Article\LinkService::getArticleTopicName PHP 메소드

getArticleTopicName() 공개 메소드

Get article topic name
public getArticleTopicName ( object $article ) : string
$article object
리턴 string
    public function getArticleTopicName($article)
    {
        $topics = $article->getTopicNames();
        return empty($topics) ? null : array_shift($topics);
    }