original_string: public function resetElementClassName(string $className, string $resetClassName)
      {
          if (($key = array_search($className, $this->getElementClass())) !== false) {
              $this->elementClass[$key] = $resetClassName;
          }
  
          return $this;
      }
code: public function resetElementClassName(string $className, string $resetClassName)
      {
          if (($key = array_search($className, $this->getElementClass())) !== false) {
              $this->elementClass[$key] = $resetClassName;
          }
  
          return $this;
      }
code_tokens: public function resetElementClassName ( string $ className , string $ resetClassName ) { if ( ( $ key = array_search ( $ className , $ this -> getElementClass ( ) ) ) !== false ) { $ this -> elementClass [ $ key ] = $ resetClassName ; } return $ this ; }
docstring: reset field className.
  
  @param string $className
  @param string $resetClassName
  
  @return $this
docstring_tokens: reset field className .