/** * Remove articleAuthor * * @param ArticleAuthor $articleAuthor * @return $this */ public function removeArticleAuthor(ArticleAuthor $articleAuthor) { if ($this->articleAuthors->contains($articleAuthor)) { $this->articleAuthors->removeElement($articleAuthor); } return $this; }