public function forget($key)
    {
        if (strpos($key, '.') !== false) {
            $this->forgetSubKey($key);
        } else {
            $this->forgetByKey($key);
        }

        $this->resetLang();
    }
public function forget($key)
    {
        if (strpos($key, '.') !== false) {
            $this->forgetSubKey($key);
        } else {
            $this->forgetByKey($key);
        }

        $this->resetLang();
    }
public function forget ( $ key ) { if ( strpos ( $ key , '.' ) !== false ) { $ this -> forgetSubKey ( $ key ) ; } else { $ this -> forgetByKey ( $ key ) ; } $ this -> resetLang ( ) ; }
Delete a setting.

@param string $key

@return void
Delete a setting .