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