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

@@ -0,0 +1,81 @@
services:
chill.person.export.count_person:
class: Chill\PersonBundle\Export\Export\CountPerson
autowire: true
autoconfigure: true
tags:
- { name: chill.export, alias: count_person }
chill.person.export.list_person:
class: Chill\PersonBundle\Export\Export\ListPerson
autowire: true
autoconfigure: true
tags:
- { name: chill.export, alias: list_person }
chill.person.export.list_person.duplicate:
class: Chill\PersonBundle\Export\Export\ListPersonDuplicate
arguments:
- "@doctrine.orm.entity_manager"
- "@translator"
- "@router"
- '%chill_main.notifications%'
tags:
- { name: chill.export, alias: list_person_duplicate }
# FILTERS
chill.person.export.filter_gender:
class: Chill\PersonBundle\Export\Filter\GenderFilter
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
tags:
- { name: chill.export_filter, alias: person_birthdate_filter }
chill.person.export.filter_nationality:
class: Chill\PersonBundle\Export\Filter\NationalityFilter
autowire: true
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
autoconfigure: true
tags:
- { name: chill.export_aggregator, alias: person_nationality_aggregator }
chill.person.export.aggregator_country_of_birth:
class: Chill\PersonBundle\Export\Aggregator\CountryOfBirthAggregator
autowire: true
autoconfigure: true
tags:
- { name: chill.export_aggregator, alias: person_country_of_birth_aggregator }
chill.person.export.aggregator_gender:
class: Chill\PersonBundle\Export\Aggregator\GenderAggregator
autowire: true
autoconfigure: true
tags:
- { name: chill.export_aggregator, alias: person_gender_aggregator }
chill.person.export.aggregator_age:
class: Chill\PersonBundle\Export\Aggregator\AgeAggregator
autowire: true
autoconfigure: true
tags:
- { name: chill.export_aggregator, alias: person_age_aggregator }