/** * Removes Topic from Article. * * @param Article $article the Article to deattach topic * * @return Topic */ public function removeArticleTopic(Article $article) { if (!$this->articles->contains($article)) { $article->removeTopic($this); $this->articles->removeElement($article); } return $this; }