File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/Symfony/Bundle/SecurityBundle/DependencyInjection Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -301,16 +301,15 @@ private function addProvidersSection(ArrayNodeDefinition $rootNode)
301
301
->children ()
302
302
->arrayNode ('providers ' )
303
303
->example (array (
304
- 'memory ' => array (
305
- 'name ' => 'memory ' ,
304
+ 'my_memory_provider ' => array (
306
305
'memory ' => array (
307
306
'users ' => array (
308
307
'foo ' => array ('password ' => 'foo ' , 'roles ' => 'ROLE_USER ' ),
309
308
'bar ' => array ('password ' => 'bar ' , 'roles ' => '[ROLE_USER, ROLE_ADMIN] ' )
310
309
),
311
310
)
312
311
),
313
- 'entity ' => array ('entity ' => array ('class ' => 'SecurityBundle:User ' , 'property ' => 'username ' ))
312
+ 'my_entity_provider ' => array ('entity ' => array ('class ' => 'SecurityBundle:User ' , 'property ' => 'username ' ))
314
313
))
315
314
->disallowNewKeysInSubsequentConfigs ()
316
315
->isRequired ()
You can’t perform that action at this time.
0 commit comments