" element * @param int $sheetIndex Index of the sheet, based on order in the workbook (zero-based) * @param \Box\Spout\Reader\ODS\ReaderOptions $options Reader's current options * @param string $sheetName Name of the sheet */ public function __construct($xmlReader, $sheetIndex, $sheetName, $options) { $this->rowIterator = new RowIterator($xmlReader, $options); $this->index = $sheetIndex; $this->name = $sheetName; } /** * @api * @return \Box\Spout\Reader\ODS\RowIterator */ public function getRowIterator() { return $this->rowIterator; } /** * @api * @return int Index of the sheet, based on order in the workbook (zero-based) */ public function getIndex() { return $this->index; } /** * @api * @return string Name of the sheet */ public function getName() { return $this->name; } }