Eccube\Service\CsvImportService::rewind PHP 메소드

rewind() 공개 메소드

If a header row has been set, the pointer is set just below the header row. That way, when you iterate over the rows, that header row is skipped.
public rewind ( )
    public function rewind()
    {
        $this->file->rewind();
        if (null !== $this->headerRowNumber) {
            $this->file->seek($this->headerRowNumber + 1);
        }
    }