add an age aggregator for person

This commit is contained in:
2017-01-12 18:49:24 +01:00
parent 64749373aa
commit 136f78d4a9
4 changed files with 169 additions and 0 deletions

View File

@@ -42,3 +42,8 @@ services:
- "@translator"
tags:
- { name: chill.export_aggregator, alias: person_gender_aggregator }
chill.person.export.aggregator_age:
class: Chill\PersonBundle\Export\Aggregator\AgeAggregator
tags:
- { name: chill.export_aggregator, alias: person_age_aggregator }

View File

@@ -161,3 +161,6 @@ Group by continents: Grouper par continent
Group by country: Grouper par pays
Group people by gender: Aggréger les personnes par genre
Aggregate by age: Aggréger par âge
Calculate age in relation to this date: Calculer l'âge par rapport à cette date