You are here

protected function FileDumper::formatCatalogue in Plug 7

Transforms a domain of a message catalogue to its string representation.

Override this function in child class if $options is used for message formatting.

Parameters

MessageCatalogue $messages:

string $domain:

array $options:

Return value

string representation

1 call to FileDumper::formatCatalogue()
FileDumper::dump in lib/Symfony/translation/Dumper/FileDumper.php
Dumps the message catalogue.
1 method overrides FileDumper::formatCatalogue()
YamlFileDumper::formatCatalogue in lib/Symfony/translation/Dumper/YamlFileDumper.php
Transforms a domain of a message catalogue to its string representation.

File

lib/Symfony/translation/Dumper/FileDumper.php, line 100

Class

FileDumper
FileDumper is an implementation of DumperInterface that dump a message catalogue to file(s). Performs backup of already existing files.

Namespace

Symfony\Component\Translation\Dumper

Code

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