Importer/CentralAzerbaijanBank.php 1 location
|
@@ 21-28 (lines=8) @@
|
18 |
|
/** |
19 |
|
* {@inheritdoc} |
20 |
|
*/ |
21 |
|
public function configure(array $options = array()) |
22 |
|
{ |
23 |
|
if (!isset($options['base_currency'])) { |
24 |
|
throw new \InvalidArgumentException('"base_currency" must be set in order to use CentralAzerbaijanBank.'); |
25 |
|
} |
26 |
|
|
27 |
|
$this->baseCurrency = $options['base_currency']; |
28 |
|
} |
29 |
|
|
30 |
|
/** |
31 |
|
* {@inheritdoc} |
Importer/EuropeanCentralBankImporter.php 1 location
|
@@ 20-27 (lines=8) @@
|
17 |
|
/** |
18 |
|
* {@inheritdoc} |
19 |
|
*/ |
20 |
|
public function configure(array $options = array()) |
21 |
|
{ |
22 |
|
if (!isset($options['base_currency'])) { |
23 |
|
throw new \InvalidArgumentException('"base_currency" must be set in order to use EuropeanCentralBankImporter.'); |
24 |
|
} |
25 |
|
|
26 |
|
$this->baseCurrency = $options['base_currency']; |
27 |
|
} |
28 |
|
|
29 |
|
/** |
30 |
|
* {@inheritdoc} |