move config yaml files

This commit is contained in:
2020-09-06 10:45:17 +02:00
parent e34afe1ee6
commit d3f7e9736b
9 changed files with 10 additions and 10 deletions

3
config/routing.yaml Normal file
View File

@@ -0,0 +1,3 @@
chill_amli_budget_controllers:
resource: "@ChillAMLIBudgetBundle/Controller"
type: annotation

View File

@@ -0,0 +1,2 @@
services:
Chill\AMLI\BudgetBundle\Calculator\CalculatorManager: ~

View File

@@ -0,0 +1,5 @@
services:
Chill\AMLI\BudgetBundle\Config\ConfigRepository:
arguments:
$resources: '%chill_budget.resources%'
$charges: '%chill_budget.charges%'

View File

@@ -0,0 +1,5 @@
services:
Chill\AMLI\BudgetBundle\Controller\:
autowire: true
resource: '../../Controller'
tags: ['controller.service_arguments']

14
config/services/form.yaml Normal file
View File

@@ -0,0 +1,14 @@
services:
Chill\AMLI\BudgetBundle\Form\ResourceType:
arguments:
$configRepository: '@Chill\AMLI\BudgetBundle\Config\ConfigRepository'
$translatableStringHelper: '@Chill\MainBundle\Templating\TranslatableStringHelper'
tags:
- { name: 'form.type' }
Chill\AMLI\BudgetBundle\Form\ChargeType:
arguments:
$configRepository: '@Chill\AMLI\BudgetBundle\Config\ConfigRepository'
$translatableStringHelper: '@Chill\MainBundle\Templating\TranslatableStringHelper'
tags:
- { name: 'form.type' }

View File

@@ -0,0 +1,7 @@
services:
Chill\AMLI\BudgetBundle\Menu\UserMenuBuilder:
arguments:
$authorizationChecker: '@Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface'
$translator: '@Symfony\Component\Translation\TranslatorInterface'
tags:
- { name: 'chill.menu_builder' }

View File

@@ -0,0 +1,7 @@
services:
Chill\AMLI\BudgetBundle\Security\Authorization\BudgetElementVoter:
arguments:
$authorizationHelper: '@Chill\MainBundle\Security\Authorization\AuthorizationHelper'
tags:
- { name: chill.role }
- { name: security.voter }

View File

@@ -0,0 +1,7 @@
services:
Chill\AMLI\BudgetBundle\Templating\Twig:
arguments:
$configRepository: '@Chill\AMLI\BudgetBundle\Config\ConfigRepository'
$translatableStringHelper: '@Chill\MainBundle\Templating\TranslatableStringHelper'
tags:
- { name: 'twig.extension' }