Skip to content

Commit

Permalink
bug #5863 Correct useAttributeAsKey usage (danrot)
Browse files Browse the repository at this point in the history
This PR was submitted for the 2.7 branch but it was merged into the 2.3 branch instead (closes #5863).

Discussion
----------

Correct useAttributeAsKey usage

Commits
-------

f676694 Correct useAttributeAsKey usage
  • Loading branch information
wouterj committed Nov 7, 2015
2 parents e13c049 + f676694 commit 00b2b85
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 00b2b85

Please sign in to comment.