Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct ($code) | |
__toString () | |
equals (Currency $other) | |
getCode () | |
isAvailableWithin (Currencies $currencies) | |
jsonSerialize () | |
Currency Value Object.
Holds Currency specific data.
@psalm-immutable
Definition at line 14 of file vendor/moneyphp/money/src/Currency.php.
Money\Currency::__construct | ( | $code | ) |
string | $code |
Definition at line 29 of file vendor/moneyphp/money/src/Currency.php.
Money\Currency::__toString | ( | ) |
Definition at line 79 of file vendor/moneyphp/money/src/Currency.php.
Money\Currency::equals | ( | Currency | $other | ) |
Checks whether this currency is the same as an other.
Currency | $other |
Definition at line 59 of file vendor/moneyphp/money/src/Currency.php.
Money\Currency::getCode | ( | ) |
Returns the currency code.
Definition at line 47 of file vendor/moneyphp/money/src/Currency.php.
Referenced by Money\Currencies\BitcoinCurrencies\contains(), Money\Currencies\ISOCurrencies\contains(), Money\Currencies\CachedCurrencies\contains(), Money\Currencies\CurrencyList\contains(), Money\Exception\UnresolvableCurrencyPairException\createFromCurrencies(), Money\Currencies\CachedCurrencies\getIterator(), Money\Currencies\ISOCurrencies\numericCodeFor(), Money\Exchange\FixedExchange\quote(), Money\Exchange\SwapExchange\quote(), Money\Exchange\ExchangerExchange\quote(), Money\Currencies\BitcoinCurrencies\subunitFor(), Money\Currencies\ISOCurrencies\subunitFor(), Money\Currencies\AggregateCurrencies\subunitFor(), Money\Currencies\CurrencyList\subunitFor(), and Money\Currencies\CachedCurrencies\subunitFor().
Money\Currency::isAvailableWithin | ( | Currencies | $currencies | ) |
Checks whether this currency is available in the passed context.
Currencies | $currencies |
Definition at line 71 of file vendor/moneyphp/money/src/Currency.php.
Money\Currency::jsonSerialize | ( | ) |