start_sf5_project/app/config/packages/validator.yaml

10 lines
293 B
YAML

framework:
validation:
enable_annotations: true
email_validation_mode: html5
# Enables validator auto-mapping support.
# For instance, basic validation constraints will be inferred from Doctrine's metadata.
auto_mapping:
App\Entity\: []