diff --git a/src/Bundle/ChillPersonBundle/config/services.yaml b/src/Bundle/ChillPersonBundle/config/services.yaml index 3d7450768..e4924d0c3 100644 --- a/src/Bundle/ChillPersonBundle/config/services.yaml +++ b/src/Bundle/ChillPersonBundle/config/services.yaml @@ -3,7 +3,6 @@ parameters: services: - chill.person.form.type.select2maritalstatus: class: Chill\PersonBundle\Form\Type\Select2MaritalStatusType arguments: @@ -27,7 +26,7 @@ services: public: true tags: - { name: chill.timeline, context: 'person' } - + chill.person.birthdate_validation: class: Chill\PersonBundle\Validator\Constraints\BirthdateValidator arguments: @@ -37,4 +36,6 @@ services: Chill\PersonBundle\Repository\: resource: '../Repository/' + arguments: + - '@Doctrine\Persistence\ManagerRegistry' tags: ['doctrine.repository_service']