protected function getElementClassString()
    {
        $elementClass = $this->getElementClass();

        if (Arr::isAssoc($elementClass)) {
            $classes = [];

            foreach ($elementClass as $index => $class) {
                $classes[$index] = is_array($class) ? implode(' ', $class) : $class;
            }

            return $classes;
        }

        return implode(' ', $elementClass);
    }
protected function getElementClassString()
    {
        $elementClass = $this->getElementClass();

        if (Arr::isAssoc($elementClass)) {
            $classes = [];

            foreach ($elementClass as $index => $class) {
                $classes[$index] = is_array($class) ? implode(' ', $class) : $class;
            }

            return $classes;
        }

        return implode(' ', $elementClass);
    }
protected function getElementClassString ( ) { $ elementClass = $ this -> getElementClass ( ) ; if ( Arr :: isAssoc ( $ elementClass ) ) { $ classes = [ ] ; foreach ( $ elementClass as $ index => $ class ) { $ classes [ $ index ] = is_array ( $ class ) ? implode ( ' ' , $ class ) : $ class ; } return $ classes ; } return implode ( ' ' , $ elementClass ) ; }
Get element class string.

@return mixed
Get element class string .