protected function map($fields)
    {
        $list = [];
        if (count($this->columns) !== count($fields)) {
            throw new \RuntimeException('Column mismatch on line ' . $this->line);
        }
        foreach ($this->columns as $column) {
            $list[$column] = array_shift($fields);
        }
        return $list;
    }