TranslationWriter
class TranslationWriter
TranslationWriter writes translation messages.
Methods
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
at line line 37
addDumper(string $format, DumperInterface $dumper)
Adds a dumper to the writer.
at line line 45
disableBackup()
Disables dumper backup.
at line line 57
array
getFormats()
Obtains the list of supported formats.
at line line 71
writeTranslations(MessageCatalogue $catalogue, string $format, array $options = array())
Writes translation from the catalogue according to the selected format.