src/Traits/AttributeTrait.php
private function parseClasses()
    {
        if ($this->classes->count() > 0) {
            $this->attributes->put('class', implode(' ', $this->classes->all()));
        }

        return $this;
    }
private function parseClasses()
    {
        if ($this->classes->count() > 0) {
            $this->attributes->put('class', implode(' ', $this->classes->all()));
        }

        return $this;
    }
Add classes from collection to attributes collection.

@return self