|
@@ 56-58 (lines=3) @@
|
| 53 |
|
"\r", |
| 54 |
|
"\t", |
| 55 |
|
]; |
| 56 |
|
if ($this->csvFormat->hasQuotes() && !$this->csvFormat->isDoubleQuote()) { |
| 57 |
|
$this->escapeChars[] = $this->csvFormat->getQuoteCharacter(); |
| 58 |
|
} |
| 59 |
|
|
| 60 |
|
$this->escapeChars = array_unique($this->escapeChars); |
| 61 |
|
|
|
@@ 66-69 (lines=4) @@
|
| 63 |
|
return $this->csvFormat->getEscapeCharacter() . $char; |
| 64 |
|
}, $this->escapeChars); |
| 65 |
|
|
| 66 |
|
if ($this->csvFormat->hasQuotes() && $this->csvFormat->isDoubleQuote()) { |
| 67 |
|
$this->escapeChars[] = '"'; |
| 68 |
|
$this->replaceChars[] = '""'; |
| 69 |
|
} |
| 70 |
|
|
| 71 |
|
$this->addProcessor(new DateTimeProcessor()); |
| 72 |
|
$this->addProcessor(new BoolProcessor()); |