public function get($cfKey, $pkgID = null)
    {
        if ($pkgID > 0 && isset($this->rows["{$cfKey}.{$pkgID}"])) {
            return $this->rowToConfigValue($this->rows["{$cfKey}.{$pkgID}"]);
        } else {
            foreach ($this->rows as $row) {
                if ($row['cfKey'] == $cfKey) {
                    return $this->rowToConfigValue($row);
                }
            }
        }

        return null;
    }