original_string: public function removeClass($class)
      {
          $cl = ' '.$this->template->get('class').' ';
          $cl = str_replace(' '.trim($class).' ', ' ', $cl);
          $this->template->set('class', trim($cl));
  
          return $this;
      }
code: public function removeClass($class)
      {
          $cl = ' '.$this->template->get('class').' ';
          $cl = str_replace(' '.trim($class).' ', ' ', $cl);
          $this->template->set('class', trim($cl));
  
          return $this;
      }
code_tokens: public function removeClass ( $ class ) { $ cl = ' ' . $ this -> template -> get ( 'class' ) . ' ' ; $ cl = str_replace ( ' ' . trim ( $ class ) . ' ' , ' ' , $ cl ) ; $ this -> template -> set ( 'class' , trim ( $ cl ) ) ; return $ this ; }
docstring: Remove CSS class from element, if it was added with setClass
  or addClass.
  
  @param string $class Single CSS class name to remove
  
  @return $this
docstring_tokens: Remove CSS class from element if it was added with setClass or addClass .