src/Item.php
private function variantCssClass()
    {
        if ($this->isVariant()) {
            return 'variant';
        }
        if ($this->isVariantBase()) {
            $result = 'varbase';

            if (0 !== $this->getVariants(null)->getCount()) {
                $result .= ' varbase-with-variants';
            }
            return $result;
        }

        return '';
    }
private function variantCssClass()
    {
        if ($this->isVariant()) {
            return 'variant';
        }
        if ($this->isVariantBase()) {
            $result = 'varbase';

            if (0 !== $this->getVariants(null)->getCount()) {
                $result .= ' varbase-with-variants';
            }
            return $result;
        }

        return '';
    }
private function variantCssClass ( ) { if ( $ this -> isVariant ( ) ) { return 'variant' ; } if ( $ this -> isVariantBase ( ) ) { $ result = 'varbase' ; if ( 0 !== $ this -> getVariants ( null ) -> getCount ( ) ) { $ result .= ' varbase-with-variants' ; } return $ result ; } return '' ; }
Create the CSS class for variant information.

@return string
Create the CSS class for variant information .