Property | Type | Description | |
---|---|---|---|
$currency | Sonata\Component\Currency\CurrencyInterface |
Method | Description | |
---|---|---|
__construct ( string $currencyLabel, Sonata\Component\Currency\CurrencyManagerInterface $currencyManager ) | Constructs the currency detector service by finding the default currency. | |
getCurrency ( ) |
public __construct ( string $currencyLabel, Sonata\Component\Currency\CurrencyManagerInterface $currencyManager ) | ||
$currencyLabel | string | |
$currencyManager | Sonata\Component\Currency\CurrencyManagerInterface |