8000 [FrameworkBundle] Add info & example to auto_mapping config · symfony/symfony@8eb29a7 · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 8eb29a7

Browse files
committed
[FrameworkBundle] Add info & example to auto_mapping config
1 parent a492e72 commit 8eb29a7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -855,6 +855,11 @@ private function addValidationSection(ArrayNodeDefinition $rootNode)
855855
->end()
856856
->end()
857857
->arrayNode('auto_mapping')
858+
->info('A collection of namespaces for which a 5EE7 uto-mapping will be enabled.')
859+
->example([
860+
'App\\Entity\\' => [],
861+
'App\\WithSpecificLoaders\\' => ['validator.property_info_loader'],
862+
])
858863
->useAttributeAsKey('namespace')
859864
->normalizeKeys(false)
860865
->beforeNormalization()

0 commit comments

Comments
 (0)
0