@@ -74,9 +74,9 @@ add an extra layer of configuration that's not needed because you don't need
74
74
or want these configuration values to change on each server.
75
75
76
76
The configuration options defined in the ``config.yml `` file usually vary from
77
- one ` execution environment `_ to another. That's why Symfony already includes
78
- ``app/config/config_dev.yml `` and ``app/config/config_prod.yml `` files so
79
- that you can override specific values for each environment.
77
+ one :doc: ` /cookbook/configuration/environments ` to another. That's why Symfony
78
+ already includes ``app/config/config_dev.yml `` and ``app/config/config_prod.yml ``
79
+ files so that you can override specific values for each environment.
80
80
81
81
Constants vs Configuration Options
82
82
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -158,10 +158,10 @@ Semantic Configuration: Don't Do It
158
158
159
159
Don't define a semantic dependency injection configuration for your bundles.
160
160
161
- As explained in ` How to Expose a semantic Configuration for a Bundle `_ article,
162
- Symfony bundles have two choices on how to handle configuration: normal service
163
- configuration through the ``services.yml `` file and semantic configuration
164
- through a special ``*Extension `` class.
161
+ As explained in :doc: ` /cookbook/bundles/extension ` article, Symfony bundles
162
+ have two choices on how to handle configuration: normal service configuration
163
+ through the ``services.yml `` file and semantic configuration through a special
164
+ ``*Extension `` class.
165
165
166
166
Although semantic configuration is much more powerful and provides nice features
167
167
such as configuration validation, the amount of work needed to define that
@@ -174,10 +174,7 @@ Moving Sensitive Options Outside of Symfony Entirely
174
174
When dealing with sensitive options, like database credentials, we also recommend
175
175
that you store them outside the Symfony project and make them available
176
176
through environment variables. Learn how to do it in the following article:
177
- ` How to Set external Parameters in the Service Container `_
177
+ :doc: ` /cookbook/configuration/external_parameters `
178
178
179
179
.. _`feature toggles` : http://en.wikipedia.org/wiki/Feature_toggle
180
- .. _`execution environment` : http://symfony.com/doc/current/cookbook/configuration/environments.html
181
180
.. _`constant() function` : http://twig.sensiolabs.org/doc/functions/constant.html
182
- .. _`How to Expose a semantic Configuration for a Bundle` : http://symfony.com/doc/current/cookbook/bundles/extension.html
183
- .. _`How to Set external Parameters in the Service Container` : http://symfony.com/doc/current/cookbook/configuration/external_parameters.html
0 commit comments