Box\Spout\Reader\AbstractReader::close PHP Метод

close() публичный Метод

Closes the reader, preventing any additional reading
public close ( ) : void
Результат void
    public function close()
    {
        if ($this->isStreamOpened) {
            $this->closeReader();
            $sheetIterator = $this->getConcreteSheetIterator();
            if ($sheetIterator) {
                $sheetIterator->end();
            }
            $this->isStreamOpened = false;
        }
    }