Box\Spout\Reader\ODS\SheetIterator::current PHP Method

current() public method

Return the current element
public current ( ) : Sheet
return Sheet
    public function current()
    {
        $escapedSheetName = $this->xmlReader->getAttribute(self::XML_ATTRIBUTE_TABLE_NAME);
        $sheetName = $this->escaper->unescape($escapedSheetName);
        return new Sheet($this->xmlReader, $sheetName, $this->currentSheetIndex, $this->options);
    }