The SheetInterface was missing methods common to all Sheets (getIndex, getName, isActive, isVisible).
35 lines
614 B
PHP
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();
|
|
}
|