code: public function setCity($city)
      {
          if (!($city instanceof City)) {
              $city = new City($city);
          }
          if ($city->isEmpty()) {
              $this->invalidArguments('10003');
          }
          return $this->setParameter('city', $city);
      }
docs: Set the address city
  @param City|array $city
  @return $this
  @throws InvalidArgumentException