Bo cos mi sie wydaje ze nie za bardzo

// $_POST['id'] = "1,5,6,82,99" public function deleteAllAction() { foreach ($array as $id) { $feature = $this->getEntityManager()->find('Product\Entity\Feature', $id); if ($feature) { $this->getEntityManager()->remove($feature); $this->getEntityManager()->flush(); } } }