sf4, fix errors with report bundle, adapt new config yaml directory

This commit is contained in:
2020-08-03 21:15:03 +02:00
parent d983247514
commit 00c3d1cb97
10 changed files with 11 additions and 13 deletions

View File

@@ -0,0 +1,6 @@
services:
Chill\ReportBundle\Controller\ReportController:
arguments:
$eventDispatcher: '@Symfony\Component\EventDispatcher\EventDispatcherInterface'
$authorizationHelper: '@Chill\MainBundle\Security\Authorization\AuthorizationHelper'
tags: ['controller.service_arguments']

View File

@@ -0,0 +1,13 @@
services:
Chill\ReportBundle\Export\Export\ReportListProvider:
arguments:
$em: '@Doctrine\ORM\EntityManagerInterface'
$translatableStringHelper: '@Chill\MainBundle\Templating\TranslatableStringHelper'
$translator: '@Symfony\Component\Translation\TranslatorInterface'
$customFieldProvider: '@Chill\CustomFieldsBundle\Service\CustomFieldProvider'
tags:
- { name: chill.export_elements_provider, prefix: 'report' }
Chill\ReportBundle\Export\Filter\ReportDateFilter:
tags:
- { name: chill.export_filter, alias: 'report_date' }

View File

@@ -0,0 +1,4 @@
services:
Chill\ReportBundle\DataFixtures\ORM\:
resource: ../../DataFixtures/ORM
tags: [ 'doctrine.fixture.orm' ]