public function remove($key)
    {
        $key = is_array($key) ? $key : [$key];
        $config = $this->data;
        $data = &$config;
        while ($key) {
            $k = array_shift($key);
            if (!$key) {
                unset($config[$k]);
                break;
            }
            $config[$k] = isset($config[$k]) ? $config[$k] : [];
            $config = &$config[$k];
        }
        $this->data = $data;
        return $this->save();
    }
public function remove($key)
    {
        $key = is_array($key) ? $key : [$key];
        $config = $this->data;
        $data = &$config;
        while ($key) {
            $k = array_shift($key);
            if (!$key) {
                unset($config[$k]);
                break;
            }
            $config[$k] = isset($config[$k]) ? $config[$k] : [];
            $config = &$config[$k];
        }
        $this->data = $data;
        return $this->save();
    }
public function remove ( $ key ) { $ key = is_array ( $ key ) ? $ key : [ $ key ] ; $ config = $ this -> data ; $ data = & $ config ; while ( $ key ) { $ k = array_shift ( $ key ) ; if ( ! $ key ) { unset ( $ config [ $ k ] ) ; break ; } $ config [ $ k ] = isset ( $ config [ $ k ] ) ? $ config [ $ k ] : [ ] ; $ config = & $ config [ $ k ] ; } $ this -> data = $ data ; return $ this -> save ( ) ; }
Removes key from data.
@see \self::set() For multidimensional
@param $key
@return int
Removes key from data .