spout/src/Spout/Reader/SheetInterface.php
Adrien Loison 69b0fb9eaf Add methods to SheetInterface
The SheetInterface was missing methods common to all Sheets (getIndex, getName, isActive, isVisible).
2019-05-17 21:38:29 +02:00

35 lines
614 B
PHP

<?php
namespace Box\Spout\Reader;
/**
* Interface SheetInterface
*/
interface SheetInterface
{
/**
* @return IteratorInterface Iterator to iterate over the sheet's rows.
*/
public function getRowIterator();
/**
* @return int Index of the sheet
*/
public function getIndex();
/**
* @return string Name of the sheet
*/
public function getName();
/**
* @return bool Whether the sheet was defined as active
*/
public function isActive();
/**
* @return bool Whether the sheet is visible
*/
public function isVisible();
}