/** * @param ChildBan $banRelatedByIdUser The ChildBan object to add. */ protected function doAddBanRelatedByIdUser(ChildBan $banRelatedByIdUser) { $this->collBansRelatedByIdUser[] = $banRelatedByIdUser; $banRelatedByIdUser->setUserWho($this); }