You are here

public function CsvFileDumper::setCsvControl in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/translation/Dumper/CsvFileDumper.php \Symfony\Component\Translation\Dumper\CsvFileDumper::setCsvControl()

Sets the delimiter and escape character for CSV.

Parameters

string $delimiter delimiter character:

string $enclosure enclosure character:

File

vendor/symfony/translation/Dumper/CsvFileDumper.php, line 50

Class

CsvFileDumper
CsvFileDumper generates a csv formatted string representation of a message catalogue.

Namespace

Symfony\Component\Translation\Dumper

Code

public function setCsvControl($delimiter = ';', $enclosure = '"') {
  $this->delimiter = $delimiter;
  $this->enclosure = $enclosure;
}