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