improve menucomposer to handle parameters and translation in old api

This commit is contained in:
2018-06-07 21:51:13 +02:00
parent 3908f32942
commit 0c4a27e759
3 changed files with 17 additions and 4 deletions

View File

@@ -4,6 +4,7 @@ services:
arguments:
- '@Symfony\Component\Routing\RouterInterface'
- '@Knp\Menu\FactoryInterface'
- '@Symfony\Component\Translation\TranslatorInterface'
Chill\MainBundle\Routing\MenuComposer: '@chill.main.menu_composer'
chill.main.routes_loader: