public function setOverride($key, $value = null)
    {
        if(is_array($key))
            foreach($key as $k => $val)
                $this->override[$k] = $val;
        else
            $this->override[$key] = $value;

        return $this;
    }