EasyCSV\Reader::getCurrentRow PHP Method

getCurrentRow() public method

public getCurrentRow ( ) : array
return array
    public function getCurrentRow()
    {
        $current = $this->handle->current();
        if ($this->isNeedBOMRemove && mb_strpos($current, "", 0, 'utf-8') === 0) {
            $this->isNeedBOMRemove = false;
            $current = str_replace("", '', $current);
        }
        return str_getcsv($current, $this->delimiter, $this->enclosure);
    }