[FrameworkBundle] Add info & example to auto_mapping config
This commit is contained in:
parent
a492e72129
commit
8eb29a7b73
@ -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()
|
||||
|
Reference in New Issue
Block a user