/** * Remove an Article from the Snippet * * @param Article $article the Article to remove * * @return Newscoop\Entity\Snippet */ public function removeArticle(Article $article) { if ($this->articles->contains($article)) { $article->removeSnippet($this); $this->articles->removeElement($article); } return $this; }