TranslationWriter
TranslationWriter
class TranslationWriter
TranslationWriter writes translation messages.
Methods
addDumper(string $format, DumperInterface $dumper) Adds a dumper to the writer. | ||
disableBackup() Disables dumper backup. | ||
array | getFormats() Obtains the list of supported formats. | |
writeTranslations(MessageCatalogue $catalogue, string $format, array $options = array()) Writes translation from the catalogue according to the selected format. |
Details
addDumper(string $format, DumperInterface $dumper)
Adds a dumper to the writer.
disableBackup()
Disables dumper backup.
array getFormats()
Obtains the list of supported formats.
writeTranslations(MessageCatalogue $catalogue, string $format, array $options = array())
Writes translation from the catalogue according to the selected format.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.1/Symfony/Component/Translation/Writer/TranslationWriter.html