mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-27 09:05:01 +00:00
Partage d'export enregistré et génération asynchrone des exports
This commit is contained in:
@@ -89,10 +89,7 @@ services:
|
||||
$exports: !tagged_iterator { tag: chill.export, index_by: alias }
|
||||
$aggregators: !tagged_iterator { tag: chill.export_aggregator, index_by: alias }
|
||||
$filters: !tagged_iterator { tag: chill.export_filter, index_by: alias }
|
||||
# for an unknown reason, iterator_to_array($formatter) cause a segmentation fault error (php-fpm code 11). removed temporarily
|
||||
# $formatters: !tagged_iterator { tag: chill.export_formatter, index_by: alias }
|
||||
# remove until we can properly test it
|
||||
# $exportElementProvider: !tagged_iterator { tag: chill.export_elements_provider, index_by: prefix }
|
||||
$formatters: !tagged_iterator { tag: chill.export_formatter, index_by: alias }
|
||||
|
||||
Chill\MainBundle\Security\Resolver\CenterResolverDispatcherInterface: '@Chill\MainBundle\Security\Resolver\CenterResolverDispatcher'
|
||||
|
||||
|
@@ -6,8 +6,25 @@ services:
|
||||
Chill\MainBundle\Export\Helper\:
|
||||
resource: '../../Export/Helper'
|
||||
|
||||
Chill\MainBundle\Export\Cronjob\:
|
||||
resource: '../../Export/Cronjob'
|
||||
|
||||
Chill\MainBundle\Export\Messenger\ExportRequestGenerationMessageHandler: ~
|
||||
|
||||
Chill\MainBundle\Export\Messenger\RemoveExportGenerationMessageHandler: ~
|
||||
|
||||
Chill\MainBundle\Export\Messenger\OnExportGenerationFails: ~
|
||||
|
||||
Chill\MainBundle\Export\ExportFormHelper: ~
|
||||
|
||||
Chill\MainBundle\Export\ExportGenerator: ~
|
||||
|
||||
Chill\MainBundle\Export\ExportConfigNormalizer: ~
|
||||
|
||||
Chill\MainBundle\Export\ExportConfigProcessor: ~
|
||||
|
||||
Chill\MainBundle\Export\ExportDescriptionHelper: ~
|
||||
|
||||
chill.main.export_element_validator:
|
||||
class: Chill\MainBundle\Validator\Constraints\Export\ExportElementConstraintValidator
|
||||
tags:
|
||||
@@ -23,36 +40,14 @@ services:
|
||||
|
||||
chill.main.export.spreadsheet_formatter:
|
||||
class: Chill\MainBundle\Export\Formatter\SpreadSheetFormatter
|
||||
arguments:
|
||||
$translatorInterface: '@Symfony\Contracts\Translation\TranslatorInterface'
|
||||
$exportManager: '@Chill\MainBundle\Export\ExportManager'
|
||||
tags:
|
||||
- { name: chill.export_formatter, alias: 'spreadsheet' }
|
||||
|
||||
chill.main.export.list_formatter:
|
||||
class: Chill\MainBundle\Export\Formatter\CSVListFormatter
|
||||
arguments:
|
||||
$translatorInterface: '@Symfony\Contracts\Translation\TranslatorInterface'
|
||||
$exportManager: '@Chill\MainBundle\Export\ExportManager'
|
||||
tags:
|
||||
- { name: chill.export_formatter, alias: 'csvlist' }
|
||||
|
||||
chill.main.export.list_spreadsheet_formatter:
|
||||
class: Chill\MainBundle\Export\Formatter\SpreadsheetListFormatter
|
||||
arguments:
|
||||
$translatorInterface: '@Symfony\Contracts\Translation\TranslatorInterface'
|
||||
$exportManager: '@Chill\MainBundle\Export\ExportManager'
|
||||
tags:
|
||||
- { name: chill.export_formatter, alias: 'spreadlist' }
|
||||
|
||||
chill.main.export.pivoted_list_formatter:
|
||||
class: Chill\MainBundle\Export\Formatter\CSVPivotedListFormatter
|
||||
arguments:
|
||||
$translatorInterface: '@Symfony\Contracts\Translation\TranslatorInterface'
|
||||
$exportManager: '@Chill\MainBundle\Export\ExportManager'
|
||||
tags:
|
||||
- { name: chill.export_formatter, alias: 'csv_pivoted_list' }
|
||||
|
||||
Chill\MainBundle\Export\AccompanyingCourseExportHelper: ~
|
||||
|
||||
Chill\MainBundle\Export\SortExportElement: ~
|
||||
|
@@ -146,3 +146,5 @@ services:
|
||||
Chill\MainBundle\Form\DataTransformer\IdToLocationDataTransformer: ~
|
||||
Chill\MainBundle\Form\DataTransformer\IdToUserDataTransformer: ~
|
||||
Chill\MainBundle\Form\DataTransformer\IdToUsersDataTransformer: ~
|
||||
|
||||
Chill\MainBundle\Form\SavedExportType: ~
|
||||
|
Reference in New Issue
Block a user