abstract class AbstractDataGenerator

The rule for compiling the currency bundle.

Methods

__construct(GenrbCompiler $compiler, string $dirName)

No description

generateData(GeneratorConfig $config)

No description

string[]
scanLocales(LocaleScanner $scanner, string $sourceDir)

No description

compileTemporaryBundles(GenrbCompiler $compiler, string $sourceDir, string $tempDir)

No description

preGenerate()

No description

array|null
generateDataForLocale(BundleReaderInterface $reader, string $tempDir, string $displayLocale)

No description

array|null
generateDataForRoot(BundleReaderInterface $reader, string $tempDir)

No description

array|null
generateDataForMeta(BundleReaderInterface $reader, string $tempDir)

No description

Details

at line 32
__construct(GenrbCompiler $compiler, string $dirName)

Parameters

GenrbCompiler $compiler
string $dirName

at line 38
generateData(GeneratorConfig $config)

Parameters

GeneratorConfig $config

at line 98
abstract protected string[] scanLocales(LocaleScanner $scanner, string $sourceDir)

Parameters

LocaleScanner $scanner
string $sourceDir

Return Value

string[]

at line 105
abstract protected compileTemporaryBundles(GenrbCompiler $compiler, string $sourceDir, string $tempDir)

Parameters

GenrbCompiler $compiler
string $sourceDir
string $tempDir

at line 107
abstract protected preGenerate()

at line 116
abstract protected array|null generateDataForLocale(BundleReaderInterface $reader, string $tempDir, string $displayLocale)

Parameters

BundleReaderInterface $reader
string $tempDir
string $displayLocale

Return Value

array|null

at line 124
abstract protected array|null generateDataForRoot(BundleReaderInterface $reader, string $tempDir)

Parameters

BundleReaderInterface $reader
string $tempDir

Return Value

array|null

at line 132
abstract protected array|null generateDataForMeta(BundleReaderInterface $reader, string $tempDir)

Parameters

BundleReaderInterface $reader
string $tempDir

Return Value

array|null