/** * @param ChildComment $comment The ChildComment object to add. */ protected function doAddComment(ChildComment $comment) { $this->collComments[] = $comment; $comment->setArticle($this); }