Continued:
[core.git] / framework / main / interfaces / io / file / csv / class_CsvInputStreamer.php
index 8e9885a92ad9d3c9cc1bbaf52ec1e8c7ea6beaad..40317d378c09ddfcc7945abae033206f8e7ae23b 100644 (file)
@@ -10,7 +10,7 @@ use Org\Mxchange\CoreFramework\Stream\Filesystem\FileInputStreamer;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2023 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
@@ -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 ($columnSeparator);
+       function readCsvFileLine (string $columnSeparator, int $expectedMatches = 0);
 
 }