Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 7... Línea 7...
7
use OpenSpout\Reader\SheetWithVisibilityInterface;
7
use OpenSpout\Reader\SheetWithVisibilityInterface;
Línea 8... Línea 8...
8
 
8
 
9
/**
9
/**
10
 * @implements SheetWithVisibilityInterface<RowIterator>
10
 * @implements SheetWithVisibilityInterface<RowIterator>
11
 */
11
 */
12
final class Sheet implements SheetWithVisibilityInterface
12
final readonly class Sheet implements SheetWithVisibilityInterface
13
{
13
{
14
    /** @var RowIterator To iterate over sheet's rows */
14
    /** @var RowIterator To iterate over sheet's rows */
Línea 15... Línea 15...
15
    private readonly RowIterator $rowIterator;
15
    private RowIterator $rowIterator;
16
 
16
 
Línea 17... Línea 17...
17
    /** @var int Index of the sheet, based on order in the workbook (zero-based) */
17
    /** @var int Index of the sheet, based on order in the workbook (zero-based) */
18
    private readonly int $index;
18
    private int $index;
Línea 19... Línea 19...
19
 
19
 
20
    /** @var string Name of the sheet */
20
    /** @var string Name of the sheet */
Línea 21... Línea 21...
21
    private readonly string $name;
21
    private string $name;
22
 
22
 
Línea 23... Línea 23...
23
    /** @var bool Whether the sheet was the active one */
23
    /** @var bool Whether the sheet was the active one */
24
    private readonly bool $isActive;
24
    private bool $isActive;
25
 
25
 
26
    /** @var bool Whether the sheet is visible */
26
    /** @var bool Whether the sheet is visible */