src/Zicht/Bundle/AdminBundle/Event/Subscriber.php
public function addMenuItem(MenuEvent $e)
    {
        $array = $e->getMenuConfig();

        $this->menu->addChild(
            $this->factory->createItem($array['name'], $array)
        );
    }
public function addMenuItem(MenuEvent $e)
    {
        $array = $e->getMenuConfig();

        $this->menu->addChild(
            $this->factory->createItem($array['name'], $array)
        );
    }
public function addMenuItem ( MenuEvent $ e ) { $ array = $ e -> getMenuConfig ( ) ; $ this -> menu -> addChild ( $ this -> factory -> createItem ( $ array [ 'name' ] , $ array ) ) ; }
Add a child to the menu

@param MenuEvent $e
@return void
Add a child to the menu