private function mergeValues($a, $b)
    {
        $x = array();
        $y = array();

        if (is_array($a)) {
            $x = $a;
        }

        foreach ($b as $key => $value) {
            $x[$key] = $value;
        }

        return $x;
    }