src/RunOpenCode/ExchangeRate/Utils/ConfigurationFilterUtil.php
public static function matches(Configuration $configuration, array $criteria)
    {
        return
            self::matchesArrayCriteria('currencyCode', $configuration, $criteria)
            &&
            self::matchesArrayCriteria('sourceName', $configuration, $criteria)
            &&
            self::matchesArrayCriteria('rateType', $configuration, $criteria)
            ;
    }
public static function matches(Configuration $configuration, array $criteria)
    {
        return
            self::matchesArrayCriteria('currencyCode', $configuration, $criteria)
            &&
            self::matchesArrayCriteria('sourceName', $configuration, $criteria)
            &&
            self::matchesArrayCriteria('rateType', $configuration, $criteria)
            ;
    }
Check if rate matches filters.

@param Configuration $configuration Configuration to filter.
@param array $criteria Filter criteria.
@return bool TRUE if filter criteria is matched.