original_string: public function addElementClass($class)
      {
          if (is_array($class) || is_string($class)) {
              $this->elementClass = array_merge($this->elementClass, (array) $class);
  
              $this->elementClass = array_unique($this->elementClass);
          }
  
          return $this;
      }
code: public function addElementClass($class)
      {
          if (is_array($class) || is_string($class)) {
              $this->elementClass = array_merge($this->elementClass, (array) $class);
  
              $this->elementClass = array_unique($this->elementClass);
          }
  
          return $this;
      }
code_tokens: public function addElementClass ( $ class ) { if ( is_array ( $ class ) || is_string ( $ class ) ) { $ this -> elementClass = array_merge ( $ this -> elementClass , ( array ) $ class ) ; $ this -> elementClass = array_unique ( $ this -> elementClass ) ; } return $ this ; }
docstring: Add the element class.
  
  @param $class
  
  @return $this
docstring_tokens: Add the element class .