/** * New function needed to make the hydrator happy. * * @param Collections\Collection $collection */ public function removeAccess(Collections\Collection $collection) { foreach ($collection as $access) { $this->access->removeElement($access); } }
/** * New function needed to make the hydrator happy * * @param Collections\Collection $accessCollection */ public function removeAccess(Collections\Collection $accessCollection) { foreach ($accessCollection as $single) { $this->access->removeElement($single); } }