Skip to content

Commit d20ac34

Browse files
add stringNode documentation
1 parent 4726300 commit d20ac34

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)