You are here

public function ExchangeRateProviderInterface::loadMultiple in Currency 8.3

Parameters

array[] $currencyCodes: Keys are the ISO 4217 codes of source currencies, values are arrays that contain ISO 4217 codes of destination currencies. Example: [ 'EUR' => ['NLG', 'DEM', 'XXX'], ]

Return value

array[] Keys are the ISO 4217 codes of source currencies, values are arrays of which the keys are ISO 4217 codes of destination currencies and values are \Drupal\currency\ExchangeRateInterface objects, or NULL for combinations of currencies for which no exchange rate could be found.

1 method overrides ExchangeRateProviderInterface::loadMultiple()
ExchangeRateProviderDecorator::loadMultiple in src/Plugin/Currency/ExchangeRateProvider/ExchangeRateProviderDecorator.php

File

src/Plugin/Currency/ExchangeRateProvider/ExchangeRateProviderInterface.php, line 39

Class

ExchangeRateProviderInterface
Defines a currency exchange rate provider plugin.

Namespace

Drupal\currency\Plugin\Currency\ExchangeRateProvider

Code

public function loadMultiple(array $currencyCodes);