Newscoop\Entity\ArticleIndex::setArticle PHP Method

setArticle() protected method

Sets the value of article.
protected setArticle ( Article $article ) : self
$article Article the article
return self
    protected function setArticle(\Newscoop\Entity\Article $article)
    {
        $this->article = $article;
        return $this;
    }