Method |
Description |
|
__construct ( WellCommerce\Bundle\CurrencyBundle\Converter\CurrencyConverterInterface $converter, WellCommerce\Bundle\CurrencyBundle\Formatter\CurrencyFormatterInterface $formatter ) |
Constructor |
|
convert ( float $amount, string $baseCurrency = null, string $targetCurrency = null, integer $quantity = 1 ) : float |
|
|
convertAndFormat ( float $amount, string $baseCurrency = null, string $targetCurrency = null, integer $quantity = 1, string $locale = null ) : string |
|
|
format ( float $amount, string $currency = null, string $locale = null ) : string |
|
|
getCurrencyRate ( string $baseCurrency = null, string $targetCurrency = null ) : float |
|
|