protected function updateClassAttribute()
    {
        $this->classesString = implode(' ', $this->classes);

        $this->element->setAttribute('class', $this->classesString);
    }
protected function updateClassAttribute()
    {
        $this->classesString = implode(' ', $this->classes);

        $this->element->setAttribute('class', $this->classesString);
    }
protected function updateClassAttribute ( ) { $ this -> classesString = implode ( ' ' , $ this -> classes ) ; $ this -> element -> setAttribute ( 'class' , $ this -> classesString ) ; }
Updates class attribute of the element.
Updates class attribute of the element .