public function delete(Acceptance $p_acceptance) { $em = $this->getEntityManager(); $em->remove($p_acceptance); }