We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c6b92a commit 1bac9a1Copy full SHA for 1bac9a1
1 file changed
CsvFile.php
@@ -46,6 +46,19 @@ public function addLine($line)
46
return $this;
47
}
48
49
+ /**
50
+ * Add lines to file
51
+ * @param array $lines Array of lines
52
+ * @return object this
53
+ */
54
+ public function addLines(array $lines)
55
+ {
56
+ foreach ($lines as $line) {
57
+ $this->addLine($line);
58
+ }
59
+ return $this;
60
61
+
62
/**
63
* Save content to file
64
* @param $filePath
0 commit comments