KnpLabs/KnpMenu — pull request #30 by stof (2012-02-12 16:38:15+00:00)
Title: Made the default options configurable for the TwigRenderer

This makes the default options configurable for the TwigRenderer, thus making #27 obsolete (/cc @havvg).

I kept the constructor argument for the default template as passing it is required. However, there is a small BC break for people using the third parameter to render the menu compressed by default. As all options are configurable now, it should be done through the option array. Keeping a dedicated parameter for it would be redundant. Is it OK for you ?