src/Form/Field.php
public function removeElementClass($class)
    {
        $delClass = [];

        if (is_string($class) || is_array($class)) {
            $delClass = (array) $class;
        }

        foreach ($delClass as $del) {
            if (($key = array_search($del, $this->elementClass))) {
                unset($this->elementClass[$key]);
            }
        }

        return $this;
    }
public function removeElementClass($class)
    {
        $delClass = [];

        if (is_string($class) || is_array($class)) {
            $delClass = (array) $class;
        }

        foreach ($delClass as $del) {
            if (($key = array_search($del, $this->elementClass))) {
                unset($this->elementClass[$key]);
            }
        }

        return $this;
    }
public function removeElementClass ( $ class ) { $ delClass = [ ] ; if ( is_string ( $ class ) || is_array ( $ class ) ) { $ delClass = ( array ) $ class ; } foreach ( $ delClass as $ del ) { if ( ( $ key = array_search ( $ del , $ this -> elementClass ) ) ) { unset ( $ this -> elementClass [ $ key ] ) ; } } return $ this ; }
Remove element class.

@param $class

@return $this
Remove element class .