/** * 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); } }