original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Remove element class.
  
  @param $class
  
  @return $this
docstring_tokens: Remove element class .