summaryrefslogtreecommitdiffstats
path: root/src/Reader.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Reader.php')
-rw-r--r--src/Reader.php35
1 files changed, 1 insertions, 34 deletions
diff --git a/src/Reader.php b/src/Reader.php
index d901725..13c478b 100644
--- a/src/Reader.php
+++ b/src/Reader.php
@@ -4,7 +4,7 @@
*
* @license http://opensource.org/licenses/MIT
* @link https://github.com/thephpleague/csv/
-* @version 5.5.0
+* @version 6.0.0
* @package League.csv
*
* For the full copyright and license information, please view the LICENSE
@@ -191,25 +191,6 @@ class Reader extends AbstractCsv
}
/**
- * DEPRECATION WARNING! This method will be removed in the next major point release
- *
- * @deprecated deprecated since version 5.4
- *
- * The callable function will be applied to each value to be return
- *
- * @param integer $column_index field Index
- * @param callable $callable a callable function
- *
- * @return array
- *
- * @throws \InvalidArgumentException If the column index is not a positive integer or 0
- */
- public function fetchCol($column_index = 0, callable $callable = null)
- {
- return $this->fetchColumn($column_index, $callable);
- }
-
- /**
* Return a single column from the CSV data
*
* The callable function will be applied to each value to be return
@@ -240,18 +221,4 @@ class Reader extends AbstractCsv
return iterator_to_array($iterator, false);
}
-
- /**
- * DEPRECATION WARNING! This method will be removed in the next major point release
- *
- * @deprecated deprecated since version 5.5
- *
- * @param string $open_mode the file open mode flag
- *
- * @return \League\Csv\Writer object
- */
- public function getWriter($open_mode = 'r+')
- {
- return $this->newWriter($open_mode);
- }
}