Property | Type | Description | |
---|---|---|---|
$dataset | WellCommerce\Component\DataSet\DataSetInterface | ||
$helper | WellCommerce\Bundle\CurrencyBundle\Helper\CurrencyHelperInterface |
Method | Description | |
---|---|---|
__construct ( WellCommerce\Bundle\CurrencyBundle\Helper\CurrencyHelperInterface $helper, WellCommerce\Component\DataSet\DataSetInterface $dataset ) | Constructor | |
convertPrice ( float $price, null | string $baseCurrency = null, null | string $targetCurrency = null, integer $quantity = 1 ) : string | Converts the given amount | |
formatPrice ( float $price, null | string $baseCurrency = null, null | string $targetCurrency = null, null | string $locale = null, $quantity = 1 ) : string | Formats the given amount | |
getCurrencies ( ) : array | Returns an array of currencies | |
getFunctions ( ) | ||
getName ( ) |
public __construct ( WellCommerce\Bundle\CurrencyBundle\Helper\CurrencyHelperInterface $helper, WellCommerce\Component\DataSet\DataSetInterface $dataset ) | ||
$helper | WellCommerce\Bundle\CurrencyBundle\Helper\CurrencyHelperInterface | |
$dataset | WellCommerce\Component\DataSet\DataSetInterface |
public getCurrencies ( ) : array | ||
return | array |
protected DataSetInterface,WellCommerce\Component\DataSet $dataset | ||
return | WellCommerce\Component\DataSet\DataSetInterface |