mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-27 04:26:13 +00:00
Conflicts: src/Bundle/ChillActivityBundle/config/services.yaml src/Bundle/ChillPersonBundle/translations/messages.fr.yml
57 lines
2.0 KiB
YAML
57 lines
2.0 KiB
YAML
parameters:
|
|
# cl_chill_person.example.class: Chill\PersonBundle\Example
|
|
|
|
services:
|
|
_defaults:
|
|
autowire: true
|
|
autoconfigure: true
|
|
|
|
Chill\PersonBundle\Serializer\Normalizer\:
|
|
resource: '../Serializer/Normalizer/'
|
|
autowire: true
|
|
tags:
|
|
- { name: 'serializer.normalizer', priority: 64 }
|
|
|
|
chill.person.form.type.select2maritalstatus:
|
|
class: Chill\PersonBundle\Form\Type\Select2MaritalStatusType
|
|
arguments:
|
|
- "@request_stack"
|
|
- "@doctrine.orm.entity_manager"
|
|
tags:
|
|
- { name: form.type, alias: select2_chill_marital_status }
|
|
|
|
chill.person.timeline.accompanying_period_opening:
|
|
class: Chill\PersonBundle\Timeline\TimelineAccompanyingPeriodOpening
|
|
arguments:
|
|
- "@doctrine.orm.entity_manager"
|
|
- '@Symfony\Component\Security\Core\Security'
|
|
- '@Chill\MainBundle\Security\Authorization\AuthorizationHelper'
|
|
public: true
|
|
tags:
|
|
- { name: chill.timeline, context: 'person' }
|
|
- { name: chill.timeline, context: 'center' }
|
|
|
|
chill.person.timeline.accompanying_period_closing:
|
|
class: Chill\PersonBundle\Timeline\TimelineAccompanyingPeriodClosing
|
|
arguments:
|
|
- "@doctrine.orm.entity_manager"
|
|
- '@Symfony\Component\Security\Core\Security'
|
|
- '@Chill\MainBundle\Security\Authorization\AuthorizationHelper'
|
|
public: true
|
|
tags:
|
|
- { name: chill.timeline, context: 'person' }
|
|
- { name: chill.timeline, context: 'center' }
|
|
|
|
chill.person.birthdate_validation:
|
|
class: Chill\PersonBundle\Validator\Constraints\BirthdateValidator
|
|
arguments:
|
|
- "%chill_person.validation.birtdate_not_before%"
|
|
tags:
|
|
- { name: validator.constraint_validator, alias: birthdate_not_before }
|
|
|
|
Chill\PersonBundle\Repository\:
|
|
autowire: true
|
|
autoconfigure: true
|
|
resource: '../Repository/'
|
|
tags: ['doctrine.repository_service']
|