public function handle(RejectOrder $command) { $order = $this->orders->getById(new OrderId($command->orderId())); $order->reject(); }