2022-02-28 15:01:26 +01:00

24 lines
812 B
YAML

Chill\PersonBundle\Entity\AccompanyingPeriod:
properties:
openingDate:
- Date:
message: 'Opening date is not valid'
- NotNull:
message: 'Opening date can not be null'
closingDate:
- Date:
message: 'Closing date is not valid'
- NotNull:
message: 'Closing date can not be null'
groups: [closed]
constraints:
- Callback:
callback: isDateConsistent
- 'Chill\PersonBundle\Validator\Constraints\AccompanyingPeriod\LocationValidity': ~
Chill\PersonBundle\Entity\PersonPhone:
properties:
phonenumber:
- Chill\MainBundle\Validation\Constraint\PhonenumberConstraint:
type: any