<?php
/**
 * @author    Igor Nikolaev <igor.sv.n@gmail.com>
 * @copyright Copyright (c) 2015, Darvin Studio
 * @link      https://www.darvin-studio.ru
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Darvin\AdminBundle\Menu;

/**
 * Menu item group
 */
class ItemGroup extends Item
{
    /**
     * {@inheritdoc}
     */
    public function __construct($name)
    {
        parent::__construct($name);

        $this->indexTitle = sprintf('menu.group.%s.title', $name);
        $this->indexUrl = '#';
        $this->description = sprintf('menu.group.%s.description', $name);
    }
}

<?php declare(strict_types=1);
/**
 * @author    Igor Nikolaev <igor.sv.n@gmail.com>
 * @copyright Copyright (c) 2015, Darvin Studio
 * @link      https://www.darvin-studio.ru
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Darvin\AdminBundle\Menu;

/**
 * Menu item group
 */
class ItemGroup extends Item
{
    /**
     * {@inheritdoc}
     */
    public function __construct(string $name)
    {
        parent::__construct($name);

        $this->indexTitle = sprintf('menu.group.%s.title', $name);
        $this->indexUrl = '#';
        $this->description = sprintf('menu.group.%s.description', $name);
    }
}

Enable strict types in menu item group class.
Enable strict types in menu item group class.
