Skip to content

Commit 9d9199a

Browse files
authored
Missing root node in yaml example
The `database` root node which is present in `getConfigTreeBuilder` is not visible in the yaml chunk above.
1 parent a327949 commit 9d9199a

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

components/config/definition.rst

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,21 @@ be a boolean value"):
1818

1919
.. code-block:: yaml
2020
21-
auto_connect: true
22-
default_connection: mysql
23-
connections:
24-
mysql:
25-
host: localhost
26-
driver: mysql
27-
username: user
28-
password: pass
29-
sqlite:
30-
host: localhost
31-
driver: sqlite
32-
memory: true
33-
username: user
34-
password: pass
21+
database:
22+
auto_connect: true
23+
default_connection: mysql
24+
connections:
25+
mysql:
26+
host: localhost
27+
driver: mysql
28+
username: user
29+
password: pass
30+
sqlite:
31+
host: localhost
32+
driver: sqlite
33+
memory: true
34+
username: user
35+
password: pass
3536
3637
When loading multiple configuration files, it should be possible to merge
3738
and overwrite some values. Other values should not be merged and stay as

0 commit comments

Comments
 (0)