public function setClass($value)
    {
        $classes = [];
        foreach (explode(' ', $value) as $class) {
            $classes[$class] = $class;
        }
        $this->classes = $classes;
        return $this;
    }
public function setClass($value)
    {
        $classes = [];
        foreach (explode(' ', $value) as $class) {
            $classes[$class] = $class;
        }
        $this->classes = $classes;
        return $this;
    }
public function setClass ( $ value ) { $ classes = [ ] ; foreach ( explode ( ' ' , $ value ) as $ class ) { $ classes [ $ class ] = $ class ; } $ this -> classes = $ classes ; return $ this ; }
Defines CSS classes
@param string  $value CSS class
@return HTMLTag $this
Defines CSS classes