src/Service/Cryptonator.php
public function supportQuery(ExchangeRateQuery $exchangeQuery): bool
    {
        $currencyPair = $exchangeQuery->getCurrencyPair();

        return !$exchangeQuery instanceof HistoricalExchangeRateQuery
            && in_array($currencyPair->getBaseCurrency(), $this->getSupportedCodes())
            && in_array($currencyPair->getQuoteCurrency(), $this->getSupportedCodes());
    }
public function supportQuery(ExchangeRateQuery $exchangeQuery): bool
    {
        $currencyPair = $exchangeQuery->getCurrencyPair();

        return !$exchangeQuery instanceof HistoricalExchangeRateQuery
            && in_array($currencyPair->getBaseCurrency(), $this->getSupportedCodes())
            && in_array($currencyPair->getQuoteCurrency(), $this->getSupportedCodes());
    }
public function supportQuery ( ExchangeRateQuery $ exchangeQuery ) : bool { $ currencyPair = $ exchangeQuery -> getCurrencyPair ( ) ; return ! $ exchangeQuery instanceof HistoricalExchangeRateQuery && in_array ( $ currencyPair -> getBaseCurrency ( ) , $ this -> getSupportedCodes ( ) ) && in_array ( $ currencyPair -> getQuoteCurrency ( ) , $ this -> getSupportedCodes ( ) ) ; }
Tells if the service supports the exchange rate query.

@param ExchangeRateQuery $exchangeQuery

@return bool
Tells if the service supports the exchange rate query .