original_string: public function forget($key)
      {
          $isDeleted = SettingModel::where('key', $key)
              ->delete();
  
          // if delete record then delete cache
          if ($isDeleted) {
              Cache::forget('Klaravel\Settings\Setting');
          }
  
          return $isDeleted;
      }
code: public function forget($key)
      {
          $isDeleted = SettingModel::where('key', $key)
              ->delete();
  
          // if delete record then delete cache
          if ($isDeleted) {
              Cache::forget('Klaravel\Settings\Setting');
          }
  
          return $isDeleted;
      }
code_tokens: public function forget ( $ key ) { $ isDeleted = SettingModel :: where ( 'key' , $ key ) -> delete ( ) ; // if delete record then delete cache if ( $ isDeleted ) { Cache :: forget ( 'Klaravel\Settings\Setting' ) ; } return $ isDeleted ; }
docstring: Delete setting data from databasse
  
  @param  string $key
  @return boolean
docstring_tokens: Delete setting data from databasse