public function applyGameWon(GameWon $event)
 {
     $readModel = $this->repository->find($event->getGameId());
     $readModel->setStatus("Game won!");
     $readModel->setGameEndTime($event->getExpandedTimeOnGame());
     $this->repository->save($readModel);
 }
 /**
  * @param GameWonEvent $event
  */
 public function applyGameWon(GameWonEvent $event)
 {
     $readModel = new GameEnd();
     $readModel->setGameId($event->getGameId());
     $readModel->getStatus(1);
     //$readModel->setTimeExpanned($event-)
     $this->repository->save($readModel);
 }