Метод | Описание | |
---|---|---|
__construct ( Sylius\Component\Currency\Repository\ExchangeRateRepositoryInterface $exchangeRateRepository ) | ||
validate ( $value, |
Метод | Описание | |
---|---|---|
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 |