WellCommerce\Bundle\CurrencyBundle\Entity\CurrencyRate::getCurrencyFrom PHP Метод

getCurrencyFrom() публичный Метод

public getCurrencyFrom ( ) : string
Результат string
    public function getCurrencyFrom() : string
    {
        return $this->currencyFrom;
    }

Usage Example

Пример #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();
 }