public function TranslationWriter::addDumper in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/translation/Writer/TranslationWriter.php \Symfony\Component\Translation\Writer\TranslationWriter::addDumper()
Adds a dumper to the writer.
Parameters
string $format The format of the dumper:
DumperInterface $dumper The dumper:
File
- vendor/
symfony/ translation/ Writer/ TranslationWriter.php, line 37
Class
- TranslationWriter
- TranslationWriter writes translation messages.
Namespace
Symfony\Component\Translation\WriterCode
public function addDumper($format, DumperInterface $dumper) {
$this->dumpers[$format] = $dumper;
}