/** * @param ChildNews $news The ChildNews object to add. */ protected function doAddNews(ChildNews $news) { $this->collNews[] = $news; $news->setFile($this); }