and maybe you could hint here to look at ItemInterface to understand the options like getAttributes and getOptions. this class extends the NodeInterface which is then used to build MenuItem instances.

i have a fundamental doubt about the name of this class now that i read through it all. this is actually a NodeInterface, not a ItemInterface - the MenuItem is a class in Knp\Menu and is built *from* this class by the ContentAwareFactory. should we rename it to MenuNode? this would be a BC break but as it is its a really confusing naming.

@uwej711 what do you think? is it for historical reasons that this class has a wrong class name or am i being confused and we should keep the name MenuItem?