File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -106,19 +106,18 @@ node definition. Node type are available for:
106
106
* variable (no validation)
107
107
108
108
and are created with ``node($name, $type) `` or their associated shortcut
109
- ``xxxxNode($name) `` method.
109
+ ``xxxxNode($name) `` method.
110
110
111
111
Numeric node constraints
112
112
~~~~~~~~~~~~~~~~~~~~~~~~
113
113
114
114
.. versionadded :: 2.2
115
-
116
115
The numeric (float and integer) nodes are new in 2.2
117
116
118
- Numeric node (float and integer) provide two extra constraints min() and
119
- max() allowing to validate the value:
120
-
121
- .. code-block :: php
117
+ Numeric nodes (float and integer) provide two extra constraints -
118
+ :method: ` Symfony \\ Component \\ Config \\ Definition \\ Builder::min ` and
119
+ :method: ` Symfony \\ Component \\ Config \\ Definition \\ Builder::max ` -
120
+ allowing to validate the value::
122
121
123
122
$rootNode
124
123
->children()
You can’t perform that action at this time.
0 commit comments