/**
  * {@inheritdoc}
  */
 public function loadMultiple(array $currency_codes)
 {
     $exchange_rates = [];
     foreach ($this->exchangeRateProvider->loadMultiple($currency_codes) as $source_currency_code => $destinations) {
         foreach ($destinations as $destination_currency_code => $exchange_rate) {
             $exchange_rates[$source_currency_code][$destination_currency_code] = ExchangeRate::createFromExchangeRate($exchange_rate, $this->getPluginId());
         }
     }
     return $exchange_rates;
 }
 public function loadMultiple(array $currencyCodes)
 {
     $exchangeRates = $this->decoratedExchangeRateProvider->loadMultiple($currencyCodes);
     foreach ($exchangeRates as $sourceCurrencyCode => $exchangeRatePerSourceCurrency) {
         foreach ($exchangeRatePerSourceCurrency as $destinationCurrencyCode => $exchangeRate) {
             $exchangeRates[$sourceCurrencyCode][$destinationCurrencyCode] = call_user_func($this->processCallback, $exchangeRate);
         }
     }
     return $exchangeRates;
 }