You are here

public function CsvFileLoader::setCsvControl in Zircon Profile 8.0

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

Sets the delimiter, enclosure, and escape character for CSV.

Parameters

string $delimiter delimiter character:

string $enclosure enclosure character:

string $escape escape character:

File

vendor/symfony/translation/Loader/CsvFileLoader.php, line 75

Class

CsvFileLoader
CsvFileLoader loads translations from CSV files.

Namespace

Symfony\Component\Translation\Loader

Code

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