public function resetElementClassName(string $className, string $resetClassName)
    {
        if (($key = array_search($className, $this->getElementClass())) !== false) {
            $this->elementClass[$key] = $resetClassName;
        }

        return $this;
    }
public function resetElementClassName(string $className, string $resetClassName)
    {
        if (($key = array_search($className, $this->getElementClass())) !== false) {
            $this->elementClass[$key] = $resetClassName;
        }

        return $this;
    }
public function resetElementClassName ( string $ className , string $ resetClassName ) { if ( ( $ key = array_search ( $ className , $ this -> getElementClass ( ) ) ) !== false ) { $ this -> elementClass [ $ key ] = $ resetClassName ; } return $ this ; }
reset field className.

@param string $className
@param string $resetClassName

@return $this
reset field className .