Example #1
0
 /**
  * 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);
     }
 }
Example #2
0
 /**
  * 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);
     }
 }