|
Open Journal Systems
3.3.0
|
Public Member Functions | |
| __construct (array $currencies) | |
| contains (Currency $currency) | |
| getIterator () | |
| subunitFor (Currency $currency) | |
Aggregates several currency repositories.
Definition at line 14 of file AggregateCurrencies.php.
| Money\Currencies\AggregateCurrencies::__construct | ( | array | $currencies | ) |
| Currencies[] | $currencies |
Definition at line 27 of file AggregateCurrencies.php.
| Money\Currencies\AggregateCurrencies::contains | ( | Currency | $currency | ) |
{Checks whether a currency is available in the current context.
| Currency | $currency |
Implements Money\Currencies.
Definition at line 41 of file AggregateCurrencies.php.
| Money\Currencies\AggregateCurrencies::getIterator | ( | ) |
{}
Definition at line 69 of file AggregateCurrencies.php.
| Money\Currencies\AggregateCurrencies::subunitFor | ( | Currency | $currency | ) |
{Returns the subunit for a currency.
| Currency | $currency |
| UnknownCurrencyException | If currency is not available in the current context |
Implements Money\Currencies.
Definition at line 55 of file AggregateCurrencies.php.
References Money\Currency\getCode().