File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -18,19 +18,19 @@ as integration of other related components:
18
18
.. configuration-block ::
19
19
20
20
.. code-block :: yaml
21
-
21
+
22
22
framework :
23
23
# ...
24
24
form : true
25
25
26
26
.. code-block :: xml
27
-
27
+
28
28
<framework : config >
29
29
<framework : form />
30
30
</framework : config >
31
31
32
32
.. code-block :: php
33
-
33
+
34
34
$container->loadFromExtension('framework', array(
35
35
// ...
36
36
'form' => true,
@@ -306,7 +306,7 @@ option is passed and set to true::
306
306
// ... prepare your $config variable
307
307
308
308
$loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
309
-
309
+
310
310
if (isset($config['enabled']) && $config['enabled']) {
311
311
$loader->load('services.xml');
312
312
}
@@ -477,9 +477,9 @@ configuration arrays together.
477
477
478
478
The ``Configuration `` class can be much more complicated than shown here,
479
479
supporting array nodes, "prototype" nodes, advanced validation, XML-specific
480
- normalization and advanced merging. The best way to see this in action is
481
- to checkout out some of the core Configuration classes, such as the one from
482
- the `FrameworkBundle Configuration `_ or the `TwigBundle Configuration `_.
480
+ normalization and advanced merging. You can read more about this in :doc: ` the Config Component documentation</components/config/definition> `.
481
+ You can also see it action by checking out some of the core Configuration classes,
482
+ such as the one from the `FrameworkBundle Configuration `_ or the `TwigBundle Configuration `_.
483
483
484
484
.. index ::
485
485
pair: Convention; Configuration
You can’t perform that action at this time.
0 commit comments