Creating Menus: The Basics ========================== Let's face it, creating menus sucks. Menus - a common aspect of any site - can range from being simple and mundane to giant monsters that become a headache to code and maintain. This bundle solves the issue by giving you a small, yet powerful and flexible framework for handling your menus. While most of the examples shown here are simple, the menus can grow arbitrarily large and deep. Creating a menu --------------- The menu framework centers around one main interface: `Knp\Menu\ItemInterface`. Items are created by a factory implementing `Knp\Menu\FactoryInterface`. It's best to think of each `ItemInterface` object as an `
  • ` tag that can hold children objects (`
  • ` tags that are wrapped in a `