code: public function removeClass($class)
      {
          $classes = $this->getClasses();
  
          if (false !== $index = array_search($class, $classes)) {
              unset($classes[$index]);
          }
  
          $this->setClasses($classes);
  
          return $this;
      }
docs: Removes the css classes from the view.
  
  @param string $class
  
  @return $this