|
| __construct (?Options $options=null, ?EncodingHelper $encodingHelper=null) |
|
| close () |
| Closes the reader, preventing any additional reading.
|
|
| getSheetIterator () |
| Returns an iterator to iterate over sheets.
|
|
| open (string $filePath) |
| Prepares the reader to read the given file.
|
|
◆ close()
OpenSpout\Reader\AbstractReader::close |
( |
| ) |
|
|
finalinherited |
◆ closeReader()
OpenSpout\Reader\CSV\Reader::closeReader |
( |
| ) |
|
|
protected |
◆ doesSupportStreamWrapper()
OpenSpout\Reader\CSV\Reader::doesSupportStreamWrapper |
( |
| ) |
|
|
protected |
◆ getSheetIterator()
OpenSpout\Reader\CSV\Reader::getSheetIterator |
( |
| ) |
|
◆ open()
OpenSpout\Reader\AbstractReader::open |
( |
string | $filePath | ) |
|
|
inherited |
Prepares the reader to read the given file.
It also makes sure that the file exists and is readable.
- Parameters
-
string | $filePath | Path of the file to be read |
- Exceptions
-
Implements OpenSpout\Reader\ReaderInterface.
◆ openReader()
OpenSpout\Reader\CSV\Reader::openReader |
( |
string | $filePath | ) |
|
|
protected |
Opens the file at the given path to make it ready to be read.
If setEncoding() was not called, it assumes that the file is encoded in UTF-8.
- Parameters
-
string | $filePath | Path of the CSV file to be read |
- Exceptions
-
Reimplemented from OpenSpout\Reader\AbstractReader.
The documentation for this class was generated from the following file:
- lib/openspout/src/Reader/CSV/Reader.php