Phergie_Config::offsetUnset PHP Method

offsetUnset() public method

Removes the value set for a configuration setting.
See also: ArrayAccess::offsetUnset()
public offsetUnset ( string $offset ) : void
$offset string Configuration setting name
return void
    public function offsetUnset($offset)
    {
        unset($this->settings[$offset]);
        foreach ($this->files as $file => $settings) {
            $key = array_search($offset, $settings);
            if ($key !== false) {
                unset($this->files[$file][$key]);
            }
        }
    }