Skip to content

Commit 8b0c688

Browse files
committed
minor #20367 [Config] add stringNode documentation (raffaelecarelle)
This PR was merged into the 7.2 branch. Discussion ---------- [Config] add stringNode documentation Fixes #20342 Commits ------- d20ac34 add stringNode documentation
2 parents 43a7a17 + d20ac34 commit 8b0c688

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

components/config/definition.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,12 @@ reflect the real structure of the configuration values::
8383
->scalarNode('default_connection')
8484
->defaultValue('mysql')
8585
->end()
86+
->stringNode('username')
87+
->defaultValue('root')
88+
->end()
89+
->stringNode('password')
90+
->defaultValue('root')
91+
->end()
8692
->end()
8793
;
8894

@@ -100,6 +106,7 @@ node definition. Node types are available for:
100106
* scalar (generic type that includes booleans, strings, integers, floats
101107
and ``null``)
102108
* boolean
109+
* string
103110
* integer
104111
* float
105112
* enum (similar to scalar, but it only allows a finite set of values)

0 commit comments

Comments
 (0)