public function setConfig($name, $key, $value)
    {
        $backup = $this->getDriver()->configGet($name, $key);
        $this->getDriver()->configSet($name, $key, $value);
        if (!array_key_exists($name, $this->config)) {
            $this->config[$name][$key] = $backup;
            return;
        }

        if (!array_key_exists($key, $this->config[$name])) {
            $this->config[$name][$key] = $backup;
        }
    }
public function setConfig($name, $key, $value)
    {
        $backup = $this->getDriver()->configGet($name, $key);
        $this->getDriver()->configSet($name, $key, $value);
        if (!array_key_exists($name, $this->config)) {
            $this->config[$name][$key] = $backup;
            return;
        }

        if (!array_key_exists($key, $this->config[$name])) {
            $this->config[$name][$key] = $backup;
        }
    }
public function setConfig ( $ name , $ key , $ value ) { $ backup = $ this -> getDriver ( ) -> configGet ( $ name , $ key ) ; $ this -> getDriver ( ) -> configSet ( $ name , $ key , $ value ) ; if ( ! array_key_exists ( $ name , $ this -> config ) ) { $ this -> config [ $ name ] [ $ key ] = $ backup ; return ; } if ( ! array_key_exists ( $ key , $ this -> config [ $ name ] ) ) { $ this -> config [ $ name ] [ $ key ] = $ backup ; } }
Sets a value in a configuration object.

@param string $name
The name of the configuration object.
@param string $key
Identifier to store value in configuration.
@param mixed $value
Value to associate with identifier.
Sets a value in a configuration object .