Skip to content

Commit f9ba396

Browse files
committed
minor #18579 [Config] Update definition.rst (JuGid)
This PR was submitted for the 6.3 branch but it was merged into the 5.4 branch instead. Discussion ---------- [Config] Update definition.rst Always acting as a trap for me : the configuration processor consider the root node (TreeBuilder "name") already stripped off. Always wanted to add documentation about it and never found out where to find this information. Commits ------- 847c1a0 Update definition.rst
2 parents ad6e24a + 847c1a0 commit f9ba396

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

components/config/definition.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -870,3 +870,9 @@ Otherwise the result is a clean array of configuration values::
870870
$databaseConfiguration,
871871
$configs
872872
);
873+
874+
.. caution::
875+
876+
When processing the configuration tree, the processor assumes the top level
877+
array key is already stripped off. If you want a root name, you should
878+
add it to your tree builder as an array node.

0 commit comments

Comments
 (0)