Box\Spout\Reader\AbstractReader::getSheetIterator PHP Method

getSheetIterator() public method

Returns an iterator to iterate over sheets.
public getSheetIterator ( ) : Iterator
return Iterator To iterate over sheets
    public function getSheetIterator()
    {
        if (!$this->isStreamOpened) {
            throw new ReaderNotOpenedException('Reader should be opened first.');
        }
        return $this->getConcreteSheetIterator();
    }