mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 21:34:25 +00:00
25 lines
835 B
YAML
25 lines
835 B
YAML
services:
|
|
chill.main.menu_composer:
|
|
class: Chill\MainBundle\Routing\MenuComposer
|
|
arguments:
|
|
- '@Symfony\Component\Routing\RouterInterface'
|
|
- '@Knp\Menu\FactoryInterface'
|
|
- '@Symfony\Component\Translation\TranslatorInterface'
|
|
Chill\MainBundle\Routing\MenuComposer: '@chill.main.menu_composer'
|
|
|
|
chill.main.routes_loader:
|
|
class: Chill\MainBundle\Routing\Loader\ChillRoutesLoader
|
|
arguments:
|
|
- "%chill_main.routing.resources%"
|
|
tags:
|
|
- { name: routing.loader }
|
|
|
|
chill.main.twig.chill_menu:
|
|
class: Chill\MainBundle\Routing\MenuTwig
|
|
arguments:
|
|
- "@chill.main.menu_composer"
|
|
calls:
|
|
- [setContainer, ["@service_container"]]
|
|
tags:
|
|
- { name: twig.extension }
|