Symfony\Component\Translation\Writer\TranslationWriter::writeTranslations
Writes translation from the catalogue according to the selected format.
Signature
public function writeTranslations(MessageCatalogue
$catalogue,
string
$format,
array
$options )
Parameters
$catalogue
—
Symfony\Component\Translation\MessageCatalogue
- The message catalogue to dump
$format
—
string
- The format to use to dump the messages
$options
—
array
- Options that are passed to the dumper
Errors/Exceptions
-
InvalidArgumentException