original_string: public function resetDefault()
      {
          if ($record = $this->getSettingsRecord()) {
              $record->delete();
              unset(self::$instances[$this->recordCode]);
              Cache::forget($this->getCacheKey());
          }
      }
code: public function resetDefault()
      {
          if ($record = $this->getSettingsRecord()) {
              $record->delete();
              unset(self::$instances[$this->recordCode]);
              Cache::forget($this->getCacheKey());
          }
      }
code_tokens: public function resetDefault ( ) { if ( $ record = $ this -> getSettingsRecord ( ) ) { $ record -> delete ( ) ; unset ( self :: $ instances [ $ this -> recordCode ] ) ; Cache :: forget ( $ this -> getCacheKey ( ) ) ; } }
docstring: Reset the settings to their defaults, this will delete the record model
docstring_tokens: Reset the settings to their defaults this will delete the record model