There is some way to change the id property of the menu item?
It's not to add a property called id with $menu->add('xxx', 'xxx')->attribute('id', 1) what i'm asking. It's like having a method to change the id like
$menu->add('xxx', '#');
$menu->xxx->setId(1);
It will be a good addition to a database menu because it's easier to declare parents and childs.
This is a question or a request it depends.
There is some way to change the id property of the menu item? It's not to add a property called id with $menu->add('xxx', 'xxx')->attribute('id', 1) what i'm asking. It's like having a method to change the id like
$menu->add('xxx', '#'); $menu->xxx->setId(1);
It will be a good addition to a database menu because it's easier to declare parents and childs.