Open Journal Systems  3.3.0
Money\Currencies\BitcoinCurrencies Class Reference
Inheritance diagram for Money\Currencies\BitcoinCurrencies:
Money\Currencies

Public Member Functions

 contains (Currency $currency)
 
 getIterator ()
 
 subunitFor (Currency $currency)
 

Data Fields

const CODE = 'XBT'
 
const SYMBOL = "\xC9\x83"
 

Detailed Description

Author
Frederik Bosch f.bos.nosp@m.ch@g.nosp@m.enkgo.nosp@m..nl

Definition at line 12 of file BitcoinCurrencies.php.

Member Function Documentation

◆ contains()

Money\Currencies\BitcoinCurrencies::contains ( Currency  $currency)

{Checks whether a currency is available in the current context.

Parameters
Currency$currency
Returns
bool
}

Implements Money\Currencies.

Definition at line 21 of file BitcoinCurrencies.php.

References Money\Currency\getCode().

◆ getIterator()

Money\Currencies\BitcoinCurrencies::getIterator ( )

{}

Definition at line 43 of file BitcoinCurrencies.php.

◆ subunitFor()

Money\Currencies\BitcoinCurrencies::subunitFor ( Currency  $currency)

{Returns the subunit for a currency.

Parameters
Currency$currency
Returns
int
Exceptions
UnknownCurrencyExceptionIf currency is not available in the current context
}

Implements Money\Currencies.

Definition at line 29 of file BitcoinCurrencies.php.

References Money\Currency\getCode().

Field Documentation

◆ CODE

const Money\Currencies\BitcoinCurrencies::CODE = 'XBT'

◆ SYMBOL

const Money\Currencies\BitcoinCurrencies::SYMBOL = "\xC9\x83"

The documentation for this class was generated from the following file: