|
Open Journal Systems
3.3.0
|
Public Member Functions | |
| contains (Currency $currency) | |
| subunitFor (Currency $currency) | |
Implement this to provide a list of currencies.
Definition at line 12 of file Currencies.php.
| Money\Currencies::contains | ( | Currency | $currency | ) |
Checks whether a currency is available in the current context.
| Currency | $currency |
Implemented in Money\Currencies\CurrencyList, Money\Currencies\CachedCurrencies, Money\Currencies\AggregateCurrencies, Money\Currencies\ISOCurrencies, and Money\Currencies\BitcoinCurrencies.
| Money\Currencies::subunitFor | ( | Currency | $currency | ) |
Returns the subunit for a currency.
| Currency | $currency |
| UnknownCurrencyException | If currency is not available in the current context |
Implemented in Money\Currencies\CachedCurrencies, Money\Currencies\CurrencyList, Money\Currencies\AggregateCurrencies, Money\Currencies\ISOCurrencies, and Money\Currencies\BitcoinCurrencies.