[FrameworkBundle] Add info & example to auto_mapping config

This commit is contained in:
Maxime Steinhausser 2019-12-09 10:10:02 +01:00
parent a492e72129
commit 8eb29a7b73

View File

@ -855,6 +855,11 @@ class Configuration implements ConfigurationInterface
->end()
->end()
->arrayNode('auto_mapping')
->info('A collection of namespaces for which auto-mapping will be enabled.')
->example([
'App\\Entity\\' => [],
'App\\WithSpecificLoaders\\' => ['validator.property_info_loader'],
])
->useAttributeAsKey('namespace')
->normalizeKeys(false)
->beforeNormalization()