Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct (array $currencies) | |
contains (Currency $currency) | |
getIterator () | |
subunitFor (Currency $currency) | |
A list of custom currencies.
Definition at line 14 of file CurrencyList.php.
Money\Currencies\CurrencyList::__construct | ( | array | $currencies | ) |
Definition at line 26 of file CurrencyList.php.
Money\Currencies\CurrencyList::contains | ( | Currency | $currency | ) |
{Checks whether a currency is available in the current context.
Currency | $currency |
Implements Money\Currencies.
Definition at line 48 of file CurrencyList.php.
References Money\Currency\getCode().
Referenced by Money\Currencies\CurrencyList\subunitFor().
Money\Currencies\CurrencyList::getIterator | ( | ) |
{}
Definition at line 68 of file CurrencyList.php.
Money\Currencies\CurrencyList::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 56 of file CurrencyList.php.
References Money\Currencies\CurrencyList\contains(), and Money\Currency\getCode().