/** * @param ChildArticle $article The ChildArticle object to add. */ protected function doAddArticle(ChildArticle $article) { $this->collArticles[] = $article; $article->setImage($this); }