protected function YamlFileDumper::format in Plug 7
Transforms a domain of a message catalogue to its string representation.
Parameters
MessageCatalogue $messages:
string $domain:
Return value
string representation
Overrides FileDumper::format
File
- lib/
Symfony/ translation/ Dumper/ YamlFileDumper.php, line 50
Class
- YamlFileDumper
- YamlFileDumper generates yaml files from a message catalogue.
Namespace
Symfony\Component\Translation\DumperCode
protected function format(MessageCatalogue $messages, $domain) {
return $this
->formatCatalogue($messages, $domain);
}