Skip to content

Commit ddd1bed

Browse files
committed
Minor tweaks
1 parent 4973c9b commit ddd1bed

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

components/config/definition.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,10 @@ In order to maintain the array keys use the ``useAttributeAsKey()`` method::
359359

360360
.. note::
361361

362-
If using YAML, then the ``'name'`` argument of ``useAttributeAsKey`` has a special meaning and refers to the key of the map (``sf_connection`` and ``default`` in this example). If a child node was defined for the ``connections`` node with the name ``name``, then the key of the map would be lost.
362+
In YAML, the ``'name'`` argument of ``useAttributeAsKey()`` has a special
363+
meaning and refers to the key of the map (``sf_connection`` and ``default``
364+
in this example). If a child node was defined for the ``connections`` node
365+
with the key ``name``, then that key of the map would be lost.
363366

364367
The argument of this method (``name`` in the example above) defines the name of
365368
the attribute added to each XML node to differentiate them. Now you can use the

0 commit comments

Comments
 (0)