ok

Mini Shell

Direktori : /home2/selectio/www/limpiar.in.net/install/vendor/maatwebsite/excel/src/Filters/
Upload File :
Current File : /home2/selectio/www/limpiar.in.net/install/vendor/maatwebsite/excel/src/Filters/LimitFilter.php

<?php

namespace Maatwebsite\Excel\Filters;

use PhpOffice\PhpSpreadsheet\Reader\IReadFilter;

class LimitFilter implements IReadFilter
{
    /**
     * @var int
     */
    private $startRow;

    /**
     * @var int
     */
    private $endRow;

    /**
     * @param  int  $startRow
     * @param  int  $limit
     */
    public function __construct(int $startRow, int $limit)
    {
        $this->startRow = $startRow;
        $this->endRow   = $startRow + $limit;
    }

    /**
     * @param  string  $column
     * @param  int  $row
     * @param  string  $worksheetName
     * @return bool
     */
    public function readCell($column, $row, $worksheetName = '')
    {
        return $row >= $this->startRow && $row < $this->endRow;
    }
}

Zerion Mini Shell 1.0