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