autowire and configure MenuBuilder

This commit is contained in:
Julie Lenaerts 2021-09-17 15:17:13 +02:00
parent 27a52ce166
commit 7515415888

View File

@ -9,9 +9,8 @@ services:
- { name: "chill.menu_builder" }
Chill\TaskBundle\Menu\MenuBuilder:
arguments:
$authorizationChecker: '@Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface'
$translator: '@Symfony\Component\Translation\TranslatorInterface'
autowire: true
autoconfigure: true
tags:
- { name: "chill.menu_builder" }