public function remove($key)
    {
        $this->load();

        if ($this->exists($key)) {
            unset($this->config[$key]);
            return true;
        } else {
            throw new RuntimeException(sprintf('Attempted to read non-existing key "%s"', $key));
        }
    }
public function remove($key)
    {
        $this->load();

        if ($this->exists($key)) {
            unset($this->config[$key]);
            return true;
        } else {
            throw new RuntimeException(sprintf('Attempted to read non-existing key "%s"', $key));
        }
    }
public function remove ( $ key ) { $ this -> load ( ) ; if ( $ this -> exists ( $ key ) ) { unset ( $ this -> config [ $ key ] ) ; return true ; } else { throw new RuntimeException ( sprintf ( 'Attempted to read non-existing key "%s"' , $ key ) ) ; } }
Deletes configuration value by its associated key

@param string $key
@throws \RuntimeException if attempted to remove by non-existing key
@return boolean
Deletes configuration value by its associated key