public function remove(Group $item) { $this->transaction->requestTransaction(); try { $item->remove($this->conn); $this->eventDispatcher->dispatch(CantigaEvents::GROUP_REMOVED, new GroupEvent($item)); } catch (Exception $exception) { $this->transaction->requestRollback(); throw $exception; } }