/home/techb158/immovalet.com/vendor/moneyphp/money/src/Currencies
NameSizeModeActions
AggregateCurrencies.php16920644editdlrm
BitcoinCurrencies.php9370644editdlrm
CachedCurrencies.php23080644editdlrm
CurrencyList.php18490644editdlrm
ISOCurrencies.php23340644editdlrm
Edit: /home/techb158/immovalet.com/vendor/moneyphp/money/src/Currencies/BitcoinCurrencies.php (937B)
*/ final class BitcoinCurrencies implements Currencies { const CODE = 'XBT'; const SYMBOL = "\xC9\x83"; /** * {@inheritdoc} */ public function contains(Currency $currency) { return self::CODE === $currency->getCode(); } /** * {@inheritdoc} */ public function subunitFor(Currency $currency) { if ($currency->getCode() !== self::CODE) { throw new UnknownCurrencyException( $currency->getCode().' is not bitcoin and is not supported by this currency repository' ); } return 8; } /** * {@inheritdoc} */ public function getIterator() { return new \ArrayIterator([new Currency(self::CODE)]); } }