mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Add DI configuration for the export of period step history data within the ChillPersonBundle
This commit adds dependency injection configuration for the export of period step history data within the ChillPersonBundle. It specifically configures exports, filters, and aggregators, all related to the accompanying period step history. Additionally, it updates ChillPersonExtension to load this newly created configuration.
This commit is contained in:
parent
5849d8d670
commit
21bd6478ad
@ -98,6 +98,7 @@ class ChillPersonExtension extends Extension implements PrependExtensionInterfac
|
||||
$loader->load('services/exports_accompanying_course.yaml');
|
||||
$loader->load('services/exports_social_actions.yaml');
|
||||
$loader->load('services/exports_evaluation.yaml');
|
||||
$loader->load('services/exports_accompanying_period_step_history.yaml');
|
||||
}
|
||||
|
||||
$loader->load('services/exports_household.yaml');
|
||||
|
@ -0,0 +1,31 @@
|
||||
services:
|
||||
_defaults:
|
||||
autowire: true
|
||||
autoconfigure: true
|
||||
|
||||
# exports
|
||||
Chill\PersonBundle\Export\Export\CountAccompanyingCourseStepHistory:
|
||||
tags:
|
||||
- { name: chill.export, alias: count_acpstephistory }
|
||||
|
||||
# filters
|
||||
Chill\PersonBundle\Export\Filter\AccompanyingPeriodStepHistoryFilters\ByDateFilter:
|
||||
tags:
|
||||
- { name: chill.export_filter, alias: acpstephistory_filter_by_date }
|
||||
|
||||
Chill\PersonBundle\Export\Filter\AccompanyingPeriodStepHistoryFilters\ByStepFilter:
|
||||
tags:
|
||||
- { name: chill.export_filter, alias: acpstephistory_filter_by_step }
|
||||
|
||||
# aggregators
|
||||
Chill\PersonBundle\Export\Aggregator\AccompanyingPeriodStepHistoryAggregators\ByClosingMotiveAggregator:
|
||||
tags:
|
||||
- { name: chill.export_aggregator, alias: acpstephistory_agg_by_closing_motive }
|
||||
|
||||
Chill\PersonBundle\Export\Aggregator\AccompanyingPeriodStepHistoryAggregators\ByDateAggregator:
|
||||
tags:
|
||||
- { name: chill.export_aggregator, alias: acpstephistory_agg_by_date }
|
||||
|
||||
Chill\PersonBundle\Export\Aggregator\AccompanyingPeriodStepHistoryAggregators\ByStepAggregator:
|
||||
tags:
|
||||
- { name: chill.export_aggregator, alias: acpstephistory_agg_by_step }
|
Loading…
x
Reference in New Issue
Block a user