mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
19 lines
603 B
YAML
19 lines
603 B
YAML
parameters:
|
|
# cl_chill_main.example.class: Chill\MainBundle\Example
|
|
|
|
services:
|
|
chill.main.menu_composer:
|
|
class: Chill\MainBundle\Routing\MenuComposer
|
|
#must be set in function to avoid circular reference with chill.main.twig.chill_menu
|
|
calls:
|
|
- [setContainer, ["@service_container"]]
|
|
|
|
chill.main.twig.chill_menu:
|
|
class: Chill\MainBundle\Routing\MenuTwig
|
|
arguments:
|
|
- "@chill.main.menu_composer"
|
|
calls:
|
|
- [setContainer, ["@service_container"]]
|
|
tags:
|
|
- { name: twig.extension }
|