original_string: public function removeClass($className)
      {
          if(strlen($className) < 1)
          {
              throw new HTMLTagException("Class name is empty");
          }
  
          $classes = explode(" ", $this->getClasses());
          $this->clearClasses();
  
          foreach($classes as $class) {
              if(strtolower($class) != strtolower($className))
              {
                  $this->addClass($class);
              }
          }
  
          return $this;
      }
code: public function removeClass($className)
      {
          if(strlen($className) < 1)
          {
              throw new HTMLTagException("Class name is empty");
          }
  
          $classes = explode(" ", $this->getClasses());
          $this->clearClasses();
  
          foreach($classes as $class) {
              if(strtolower($class) != strtolower($className))
              {
                  $this->addClass($class);
              }
          }
  
          return $this;
      }
code_tokens: public function removeClass ( $ className ) { if ( strlen ( $ className ) < 1 ) { throw new HTMLTagException ( "Class name is empty" ) ; } $ classes = explode ( " " , $ this -> getClasses ( ) ) ; $ this -> clearClasses ( ) ; foreach ( $ classes as $ class ) { if ( strtolower ( $ class ) != strtolower ( $ className ) ) { $ this -> addClass ( $ class ) ; } } return $ this ; }
docstring: Removes the specified class name.
  @param   string  $className
  @return  HTMLTag
  @throws  HTMLTagException
docstring_tokens: Removes the specified class name .