public function CsvFileLoader::setCsvControl in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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\LoaderCode
public function setCsvControl($delimiter = ';', $enclosure = '"', $escape = '\\') {
$this->delimiter = $delimiter;
$this->enclosure = $enclosure;
$this->escape = $escape;
}