public function set($key, $value)
    {
        if (is_string($key)) {
            $this->config[$key] = $value;
        } else {
            throw new ConfigException('config key must be a string');
        }
    }
public function set($key, $value)
    {
        if (is_string($key)) {
            $this->config[$key] = $value;
        } else {
            throw new ConfigException('config key must be a string');
        }
    }
public function set ( $ key , $ value ) { if ( is_string ( $ key ) ) { $ this -> config [ $ key ] = $ value ; } else { throw new ConfigException ( 'config key must be a string' ) ; } }
Set the specified config item

@param  string $key
@param  mixed  $value
@return void

@throws \Kotori\Exception\ConfigException
Set the specified config item