Пример #1
0
 /**
  * Sets exchange rate for target and base currency pair
  *
  * @param CurrencyRate $rate
  * @param string       $targetCurrency
  */
 protected function setExchangeRate(CurrencyRate $rate, $targetCurrency)
 {
     $this->exchangeRates[$targetCurrency][$rate->getCurrencyFrom()] = $rate->getExchangeRate();
 }