\ExchangeRateProvider

Synopsis

class ExchangeRateProvider extends Object {
}

Hierarchy

Extends

  • Object

Members

private

  • $memory_cache
    cache of exchange rates

protected

  • $exchangeCostMultiplierfloatval
    adds a bit of additional cost to account for the exchange cost.

Methods

protected

  • getRate() — gets a rate from a FROM and a TO currency

public