/** * New function needed to make the hydrator happy * * @param Collections\Collection $communityCollection */ public function removeCommunity(Collections\Collection $communityCollection) { foreach ($communityCollection as $single) { $this->community->removeElement($single); } }
/** * Remove profilesToRead * * @param \Calculus\UserBundle\Entity\Profile $profilesToRead */ public function removeProfilesToRead(\Calculus\UserBundle\Entity\Profile $profilesToRead) { $this->profiles_to_read->removeElement($profilesToRead); }
/** * @param Contact $contact */ public function removeAssociate(Contact $contact) { $this->associate->removeElement($contact); }