We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b88e549 commit b0ff27cCopy full SHA for b0ff27c
src/CsvOptions.php
@@ -35,30 +35,10 @@ public function __construct(
35
$escapedBy = self::DEFAULT_ESCAPED_BY
36
) {
37
$this->escapedBy = $escapedBy;
38
- $this->setDelimiter($delimiter);
39
- $this->setEnclosure($enclosure);
40
- }
41
-
42
- /**
43
- * @param string $delimiter
44
- * @throws InvalidArgumentException
45
- */
46
- protected function setDelimiter($delimiter)
47
- {
48
$this->validateDelimiter($delimiter);
49
$this->delimiter = $delimiter;
50
51
52
53
- * @param string $enclosure
54
- * @return $this
55
56
57
- protected function setEnclosure($enclosure)
58
59
$this->validateEnclosure($enclosure);
60
$this->enclosure = $enclosure;
61
- return $this;
62
}
63
64
/**
0 commit comments