src/View/Helper/MenuHelper.php
protected function _buildItemClasses($item)
    {
        $cls = [
            $this->config('itemClass')
        ];

        if ($this->_isActive($item)) {
            $cls[] = $this->config('itemActiveClass');
        }

        if ($this->_isOpen($item)) {
            $cls[] = $this->config('itemOpenClass');
        }

        return $cls;
    }
protected function _buildItemClasses($item)
    {
        $cls = [
            $this->config('itemClass')
        ];

        if ($this->_isActive($item)) {
            $cls[] = $this->config('itemActiveClass');
        }

        if ($this->_isOpen($item)) {
            $cls[] = $this->config('itemOpenClass');
        }

        return $cls;
    }
protected function _buildItemClasses ( $ item ) { $ cls = [ $ this -> config ( 'itemClass' ) ] ; if ( $ this -> _isActive ( $ item ) ) { $ cls [ ] = $ this -> config ( 'itemActiveClass' ) ; } if ( $ this -> _isOpen ( $ item ) ) { $ cls [ ] = $ this -> config ( 'itemOpenClass' ) ; } return $ cls ; }
Build the css classes for a menu item.

@param array $item The menu item.
@return array An array of applied css classes.
Build the css classes for a menu item .