You are here

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\Dumper

Code

protected function format(MessageCatalogue $messages, $domain) {
  return $this
    ->formatCatalogue($messages, $domain);
}