CsvFileDumper
class CsvFileDumper extends FileDumper
CsvFileDumper generates a csv formatted string representation of a message catalogue.
Properties
protected string | $relativePathTemplate | A template for the relative paths to files. | from FileDumper |
Methods
setRelativePathTemplate(string $relativePathTemplate)
Sets the template for the relative paths to files.
from FileDumper
from FileDumper
string
formatCatalogue(MessageCatalogue $messages, string $domain, array $options = array())
Transforms a domain of a message catalogue to its string representation.
string
getExtension()
Gets the file extension of the dumper.
setCsvControl(string $delimiter = ';', string $enclosure = '"')
Sets the delimiter and escape character for CSV.
Details
setRelativePathTemplate(string $relativePathTemplate)
Sets the template for the relative paths to files.
string
formatCatalogue(MessageCatalogue $messages, string $domain, array $options = array())
Transforms a domain of a message catalogue to its string representation.