code: public function installCurrencies($code = 'USD')
      {
          $currencyNames = Intl::getCurrencyBundle()->getCurrencyNames();
  
          if (!isset($currencyNames[$code])) {
              throw new InvalidArgumentException("Invalid default currency code '$code'.");
          }
  
          asort($currencyNames);
  
          $this->generate(Currency::class, $currencyNames, $code);
      }
docs: Installs the currencies.
  
  @param string $code The default currency's code
  
  @throws \Exception