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