public function XliffFileDumper::dump in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/translation/Dumper/XliffFileDumper.php \Symfony\Component\Translation\Dumper\XliffFileDumper::dump()
Dumps the message catalogue.
Parameters
MessageCatalogue $messages The message catalogue:
array $options Options that are used by the dumper:
Overrides FileDumper::dump
File
- vendor/
symfony/ translation/ Dumper/ XliffFileDumper.php, line 31
Class
- XliffFileDumper
- XliffFileDumper generates xliff files from a message catalogue.
Namespace
Symfony\Component\Translation\DumperCode
public function dump(MessageCatalogue $messages, $options = array()) {
if (array_key_exists('default_locale', $options)) {
$this->defaultLocale = $options['default_locale'];
}
else {
$this->defaultLocale = \Locale::getDefault();
}
parent::dump($messages, $options);
}