Symfony\Component\Translation\Dumper\FileDumper
FileDumper is an implementation of DumperInterface that dump a message catalogue to file(s).
Performs backup of already existing files.
Options:
- path (mandatory): the directory where the files should be saved
- Author: Michel Salib <michelsalib@hotmail.com>
Synopsis
class FileDumper
implements
DumperInterface
{
- // methods
- public void dump()
- protected abstract string format()
- protected abstract string getExtension()
Hierarchy
Extended by
- Symfony\Component\Translation\Dumper\PhpFileDumper
- Symfony\Component\Translation\Dumper\IniFileDumper
- Symfony\Component\Translation\Dumper\MoFileDumper
- Symfony\Component\Translation\Dumper\PoFileDumper
- Symfony\Component\Translation\Dumper\YamlFileDumper
- Symfony\Component\Translation\Dumper\XliffFileDumper
- Symfony\Component\Translation\Dumper\QtFileDumper
- Symfony\Component\Translation\Dumper\CsvFileDumper
Implements
Methods
protected
- format() — Transforms a domain of a message catalogue to its string representation.
- getExtension() — Gets the file extension of the dumper.
public
- dump() — {@inheritDoc}