Example #1
0
 private function removeFoundables(Grid $grid)
 {
     $foundables = $grid->getFoundableForms();
     foreach ($foundables as $foundable) {
         $this->em->remove($foundable);
     }
     $this->em->flush();
 }