Méthode | Description | |
---|---|---|
__construct ( Sylius\Component\Currency\Repository\ExchangeRateRepositoryInterface $exchangeRateRepository ) | ||
validate ( $value, |
Méthode | Description | |
---|---|---|
isCurrencyPairUnique ( Sylius\Component\Currency\Model\CurrencyInterface $baseCurrency, Sylius\Component\Currency\Model\CurrencyInterface $targetCurrency ) : boolean |
public __construct ( Sylius\Component\Currency\Repository\ExchangeRateRepositoryInterface $exchangeRateRepository ) | ||
$exchangeRateRepository | Sylius\Component\Currency\Repository\ExchangeRateRepositoryInterface |
public validate ( $value, |
||
$constraint |