]> git.mxchange.org Git - core.git/blobdiff - framework/main/interfaces/io/file/csv/class_CsvInputStreamer.php
Continued:
[core.git] / framework / main / interfaces / io / file / csv / class_CsvInputStreamer.php
index b5be1e3834a18965b444fc2d368d98aa13a1cd8a..3f383d65c9a033f0b628a86c067878cb51589069 100644 (file)
@@ -32,8 +32,10 @@ interface CsvInputStreamer extends FileInputStreamer {
         * Reads a line from CSV file and returns it as an indexed array
         *
         * @param       $columnSeparator        Character to use separting columns
+        * @param       $expectedMatches        Expected matches, 0 is default and means flexible
         * @return      $lineArray                      An index array with the read line
+        * @throws      InvalidArgumentException        If a parameter is invalid
         */
-       function readCsvFileLine (string $columnSeparator);
+       function readCsvFileLine (string $columnSeparator, int $expectedMatches = 0);
 
 }