exports: share Scope and Job Aggregators

This commit is contained in:
2022-08-08 16:12:34 +02:00
parent fcd7ae3b8d
commit 643f37509f
8 changed files with 74 additions and 216 deletions

View File

@@ -150,19 +150,19 @@ services:
- { name: chill.export_filter, alias: accompanyingcourse_openbetweendates_filter }
## Aggregators
chill.person.export.aggregator_userscope:
class: Chill\PersonBundle\Export\Aggregator\AccompanyingCourseAggregators\UserScopeAggregator
chill.person.export.aggregator_scope:
class: Chill\PersonBundle\Export\Aggregator\ScopeAggregator
autowire: true
autoconfigure: true
tags:
- { name: chill.export_aggregator, alias: accompanyingcourse_userscope_aggregator }
- { name: chill.export_aggregator, alias: accompanyingcourse_scope_aggregator }
chill.person.export.aggregator_userjob:
class: Chill\PersonBundle\Export\Aggregator\AccompanyingCourseAggregators\UserJobAggregator
chill.person.export.aggregator_job:
class: Chill\PersonBundle\Export\Aggregator\JobAggregator
autowire: true
autoconfigure: true
tags:
- { name: chill.export_aggregator, alias: accompanyingcourse_userjob_aggregator }
- { name: chill.export_aggregator, alias: accompanyingcourse_job_aggregator }
chill.person.export.aggregator_socialissue:
class: Chill\PersonBundle\Export\Aggregator\AccompanyingCourseAggregators\SocialIssueAggregator

View File

@@ -37,20 +37,6 @@ services:
autoconfigure: true
tags:
- { name: chill.export_aggregator, alias: social_work_actions_referrer_aggregator }
chill.person.export.aggregator_job:
class: Chill\PersonBundle\Export\Aggregator\SocialWorkAggregators\JobAggregator
autowire: true
autoconfigure: true
tags:
- { name: chill.export_aggregator, alias: social_work_actions_job_aggregator }
chill.person.export.aggregator_scope:
class: Chill\PersonBundle\Export\Aggregator\SocialWorkAggregators\ScopeAggregator
autowire: true
autoconfigure: true
tags:
- { name: chill.export_aggregator, alias: social_work_actions_scope_aggregator }
chill.person.export.aggregator_action_type:
class: Chill\PersonBundle\Export\Aggregator\SocialWorkAggregators\ActionTypeAggregator