public function currency() : string { return $this->currency; }
/** * @param CreateCart $command * * @throws \Exception */ public function handle(CreateCart $command) { $this->carts->add(new Cart(new CartId($command->uuid()), $command->currency())); }