[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()
|
||||||
->end()
|
->end()
|
||||||
->arrayNode('auto_mapping')
|
->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')
|
->useAttributeAsKey('namespace')
|
||||||
->normalizeKeys(false)
|
->normalizeKeys(false)
|
||||||
->beforeNormalization()
|
->beforeNormalization()
|
||||||
|
Reference in New Issue
Block a user