agefilter added for persons

This commit is contained in:
2022-08-02 14:39:09 +02:00
parent c72dc83c06
commit ebb6ee4a41
3 changed files with 119 additions and 4 deletions

View File

@@ -24,12 +24,20 @@ services:
tags:
- { name: chill.export, alias: list_person_duplicate }
# FILTERS
chill.person.export.filter_gender:
class: Chill\PersonBundle\Export\Filter\GenderFilter
arguments:
$translator: '@translator'
autowire: true
autoconfigure: true
tags:
- { name: chill.export_filter, alias: person_gender_filter }
chill.person.export.filter_age:
class: Chill\PersonBundle\Export\Filter\AgeFilter
autowire: true
autoconfigure: true
tags:
- { name: chill.export_filter, alias: person_age_filter }
chill.person.export.filter_birthdate:
class: Chill\PersonBundle\Export\Filter\BirthdateFilter
@@ -42,7 +50,8 @@ services:
autoconfigure: true
tags:
- { name: chill.export_filter, alias: person_nationality_filter }
# AGGREGATORS
chill.person.export.aggregator_nationality:
class: Chill\PersonBundle\Export\Aggregator\NationalityAggregator
autowire: true