original_string: public function clearCache()
      {
          static::$cache = [];
  
          // remove our "remembered" submitted value
          $this->submitted = null;
  
          // remove our "remembered" valid value
          foreach ($this->fields as $field) {
              if ($field instanceof AbstractFormField) {
                  $field->clearCache();
              }
          }
          return $this;
      }
code: public function clearCache()
      {
          static::$cache = [];
  
          // remove our "remembered" submitted value
          $this->submitted = null;
  
          // remove our "remembered" valid value
          foreach ($this->fields as $field) {
              if ($field instanceof AbstractFormField) {
                  $field->clearCache();
              }
          }
          return $this;
      }
code_tokens: public function clearCache ( ) { static :: $ cache = [ ] ; // remove our "remembered" submitted value $ this -> submitted = null ; // remove our "remembered" valid value foreach ( $ this -> fields as $ field ) { if ( $ field instanceof AbstractFormField ) { $ field -> clearCache ( ) ; } } return $ this ; }
docstring: Clear our cache of the submitted values.
  This could be useful when you have changed the submitted values and want to re-analyze them.
  @return Form
docstring_tokens: Clear our cache of the submitted values . This could be useful when you have changed the submitted values and want to re - analyze them .