CurrencyDataGenerator
class CurrencyDataGenerator extends AbstractDataGenerator
The rule for compiling the currency bundle.
Constants
UNKNOWN_CURRENCY_ID | |
EUROPEAN_COMPOSITE_UNIT_ID | |
EUROPEAN_MONETARY_UNIT_ID | |
EUROPEAN_UNIT_OF_ACCOUNT_XBC_ID | |
EUROPEAN_UNIT_OF_ACCOUNT_XBD_ID | |
TESTING_CURRENCY_CODE_ID | |
ADB_UNIT_OF_ACCOUNT_ID | |
GOLD_ID | |
SILVER_ID | |
PLATINUM_ID | |
PALLADIUM_ID | |
SUCRE_ID | |
SPECIAL_DRAWING_RIGHTS_ID | |
Methods
Details
__construct(GenrbCompiler $compiler, string $dirName)
Parameters
Parameters
protected string[]
scanLocales(LocaleScanner $scanner, string $sourceDir)
Parameters
Return Value
protected
compileTemporaryBundles(GenrbCompiler $compiler, string $sourceDir, string $tempDir)
Parameters
protected
preGenerate()
protected array|null
generateDataForLocale(BundleReaderInterface $reader, string $tempDir, string $displayLocale)
Parameters
Return Value
protected array|null
generateDataForRoot(BundleReaderInterface $reader, string $tempDir)
Parameters
Return Value
Parameters
Return Value