File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change @@ -395,6 +395,45 @@ with ``append()``::
395
395
This is also useful to help you avoid repeating yourself if you have sections
396
396
of the config that are repeated in different places.
397
397
398
+ The example results in the following:
399
+
400
+ .. code-block :: yaml
401
+
402
+ database :
403
+ connection :
404
+ driver : ~ # Required
405
+ host : localhost
406
+ username : ~
407
+ password : ~
408
+ memory : false
409
+ parameters : # Required
410
+
411
+ # Prototype
412
+ name :
413
+ value : ~ # Required
414
+
415
+ .. code-block :: xml
416
+
417
+ <database >
418
+ <!-- driver: Required -->
419
+ <connection
420
+ driver =" "
421
+ host =" localhost"
422
+ username =" "
423
+ password =" "
424
+ memory =" false"
425
+ >
426
+
427
+ <!-- prototype -->
428
+ <!-- value: Required -->
429
+ <parameters
430
+ name =" parameters name"
431
+ value =" "
432
+ />
433
+
434
+ </connection >
435
+ </database >
436
+
398
437
.. _component-config-normalization :
399
438
400
439
Normalization
You can’t perform that action at this time.
0 commit comments