public function handleReservationRejected(ReservationRejected $event, State $state) { // the seat reservation for the given order is has been rejected, reject the order as well $command = new RejectOrder($state->get('orderId')); $this->commandBus->dispatch($command); // the saga ends here $state->setDone(); return $state; }