1
1
.. index ::
2
- single: Config; Define and process configuration values
2
+ single: Config; Defining and processing configuration values
3
3
4
- Define and process configuration values
5
- =======================================
4
+ Defining and processing configuration values
5
+ ============================================
6
6
7
- Validate configuration values
8
- -----------------------------
7
+ Validating configuration values
8
+ -------------------------------
9
9
10
10
After loading configuration values from all kinds of resources, the values
11
11
and their structure can be validated using the "Definition" part of the Config
@@ -38,8 +38,8 @@ they are when first encountered. Also, some keys are only available when
38
38
another key has a specific value (in the sample configuration above: the
39
39
``memory `` key only makes sense when the ``driver `` is ``sqlite ``).
40
40
41
- Define a hierarchy of configuration values using the TreeBuilder
42
- ----------------------------------------------------------------
41
+ Defining a hierarchy of configuration values using the TreeBuilder
42
+ ------------------------------------------------------------------
43
43
44
44
All the rules concerning configuration values can be defined using the
45
45
:class: `Symfony\\ Component\\ Config\\ Definition\\ Builder\\ TreeBuilder `.
@@ -66,8 +66,8 @@ should be returned from a custom ``Configuration`` class which implements the
66
66
}
67
67
}
68
68
69
- Add node definitions to the tree
70
- --------------------------------
69
+ Adding node definitions to the tree
70
+ -----------------------------------
71
71
72
72
Variable nodes
73
73
~~~~~~~~~~~~~~
0 commit comments