Data\Generator\GeneratorConfig (Component\Intl)
Symfony\Component\Intl\Data\Generator\GeneratorConfig
class GeneratorConfig
Stores contextual information for resource bundle generation.
Methods
__construct($sourceDir, $icuVersion) | ||
addBundleWriter(string $targetDir, BundleWriterInterface $writer) Adds a writer to be used during the data conversion. | ||
BundleWriterInterface[] | 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
public __construct($sourceDir, $icuVersion)
public addBundleWriter(string $targetDir, BundleWriterInterface $writer)
Adds a writer to be used during the data conversion.
public BundleWriterInterface[] getBundleWriters()
Returns the writers indexed by their output directories.
public string getSourceDir()
Returns the directory where the source versions of the resource bundles are stored.
public string getIcuVersion()
Returns the ICU version of the bundles being converted.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/Intl/Data/Generator/GeneratorConfig.html