class GeneratorConfig

Stores contextual information for resource bundle generation.

Methods

__construct(string $sourceDir, string $icuVersion)

No description

addBundleWriter(string $targetDir, BundleWriterInterface $writer)

Adds a writer to be used during the data conversion.

getBundleWriters()

Returns the writers indexed by their output directories.

string
getSourceDir()

Returns the directory where the source versions of the resource bundles are stored.

string
getIcuVersion()

Returns the ICU version of the bundles being converted.

Details

at line 33
__construct(string $sourceDir, string $icuVersion)

Parameters

string $sourceDir
string $icuVersion

at line 45
addBundleWriter(string $targetDir, BundleWriterInterface $writer)

Adds a writer to be used during the data conversion.

Parameters

string $targetDir The output directory
BundleWriterInterface $writer The writer instance

at line 55
BundleWriterInterface[] getBundleWriters()

Returns the writers indexed by their output directories.

Return Value

BundleWriterInterface[]

at line 66
string getSourceDir()

Returns the directory where the source versions of the resource bundles are stored.

Return Value

string An absolute path to a directory

at line 76
string getIcuVersion()

Returns the ICU version of the bundles being converted.

Return Value

string The ICU version string