Box\Spout\Reader\ODS\Reader::openReader PHP Метод

openReader() защищенный Метод

Opens the file at the given file path to make it ready to be read.
protected openReader ( string $filePath ) : void
$filePath string Path of the file to be read
Результат void
    protected function openReader($filePath)
    {
        $this->zip = new \ZipArchive();
        if ($this->zip->open($filePath) === true) {
            $this->sheetIterator = new SheetIterator($filePath, $this->getOptions());
        } else {
            throw new IOException("Could not open {$filePath} for reading.");
        }
    }