FileDumper

FileDumper

class FileDumper implements DumperInterface

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

Methods

setRelativePathTemplate(string $relativePathTemplate)

Sets the template for the relative paths to files.

setBackup(bool $backup)

Sets backup flag.

dump(登录查看完整内容