/** * @param ChildUser $userRelatedByVote2 The ChildUser object to add. */ protected function doAddUserRelatedByVote2(ChildUser $userRelatedByVote2) { $this->collUsersRelatedByVote2[] = $userRelatedByVote2; $userRelatedByVote2->setWineRelatedByVote2($this); }