[fw-bundle] Add support for validator auto-mapping

This commit is contained in:
Kévin Dunglas
2019-05-09 18:08:39 +02:00
parent c33b011bac
commit 685e9eb31a
10 changed files with 191 additions and 0 deletions
@@ -0,0 +1,24 @@
framework:
secret: '%env(APP_SECRET)%'
#default_locale: en
#csrf_protection: true
#http_method_override: true
# Enables session support. Note that the session will ONLY be started if you read or write from it.
# Remove or comment this section to explicitly disable session support.
session:
handler_id: ~
cookie_secure: auto
cookie_samesite: lax
#esi: true
#fragments: true
php_errors:
log: true
validation:
# Enables validator auto-mapping support.
# For instance, basic validation constraints will be inferred from Doctrine's metadata.
auto_mapping:
App\Entity\: []