mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
[AccompanyingPeriod] create constraints for location
This commit is contained in:
@@ -85,3 +85,8 @@ services:
|
||||
resource: '../Templating/Entity'
|
||||
tags:
|
||||
- 'chill.render_entity'
|
||||
|
||||
Chill\PersonBundle\Validator\Constraints\AccompanyingPeriod\:
|
||||
autowire: true
|
||||
autoconfigure: true
|
||||
resource: '../Validator/Constraints/AccompanyingPeriod'
|
||||
|
@@ -81,6 +81,7 @@ Chill\PersonBundle\Entity\AccompanyingPeriod:
|
||||
constraints:
|
||||
- Callback:
|
||||
callback: isDateConsistent
|
||||
- 'Chill\PersonBundle\Validator\Constraints\AccompanyingPeriod\LocationValidity': ~
|
||||
|
||||
Chill\PersonBundle\Entity\PersonPhone:
|
||||
properties:
|
||||
|
Reference in New Issue
Block a user