Skip to content

Commit

Permalink
Correct useAttributeAsKey usage
Browse files Browse the repository at this point in the history
  • Loading branch information
danrot authored and wouterj committed Nov 7, 2015
1 parent e13c049 commit f676694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/config/definition.rst
Original file line number Diff line number Diff line change
Expand Up @@ -327,8 +327,8 @@ In order to maintain the array keys use the ``useAttributeAsKey()`` method::
->fixXmlConfig('connection')
->children()
->arrayNode('connections')
->useAttributeAsKey('name')
->prototype('array')
->useAttributeAsKey('name')
->children()
->scalarNode('table')->end()
->scalarNode('user')->end()
Expand Down

0 comments on commit f676694

Please sign in to comment.