public function updateGroup(GroupInterface $group) { $this->em->persist($group); $this->em->flush(); }