Skip to content

Commit ad27a83

Browse files
committed
address comments by xabbuh
1 parent a6bda5e commit ad27a83

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

Diff for: cookbook/bundles/extension.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ The second method has several specific advantages:
9292
.. seealso::
9393

9494
For other usages of the parameter ``%`` syntax see
95-
:doc:`Using Parameters Within A Dependency Injection Class </cookbook/using_parameters_in_dic>`.
95+
:doc:`</cookbook/configuration/using_parameters_in_dic>`.
9696

9797
.. index::
9898
single: Bundle; Extension

Diff for: cookbook/configuration/front_controllers_and_kernel.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.. index::
2-
single: How front controller, ``AppKernel`` and environments
2+
single: How the front controller, ``AppKernel`` and environments
33
work together
44

55
Understanding how the Front Controller, Kernel and Environments work together

Diff for: cookbook/configuration/using_parameters_in_dic.rst

+12-12
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
.. index::
2-
single: Using Parameters Within A Dependency Injection Class
2+
single: Using Parameters within a Dependency Injection Class
33

4-
Using Parameters Within A Dependency Injection Class
4+
Using Parameters within a Dependency Injection Class
55
----------------------------------------------------
66

77
You have seen how to use configuration parameters within
8-
:ref:`Symfony service container <book-service-container-parameters>`.
8+
:ref:`Symfony service containers <book-service-container-parameters>`.
99
There are special cases such as when you want, for instance, to use the
1010
``%kernel.debug%`` parameter to make the services in your bundle enter
1111
debug mode. For this case there is more work to do in order
@@ -146,14 +146,14 @@ And set it in the constructor of ``Configuration`` via the ``Extension`` class::
146146

147147
.. sidebar:: Setting the Default in the Extension
148148

149-
There are some instances of ``%kernel.debug%`` usage within a ``Configurator``
150-
class in TwigBundle and AsseticBundle, however this is because the default
151-
parameter value is set by the Extension class. For example in AsseticBundle,
152-
you can find::
149+
There are some instances of ``%kernel.debug%`` usage within a ``Configurator``
150+
class in TwigBundle and AsseticBundle, however this is because the default
151+
parameter value is set by the Extension class. For example in AsseticBundle,
152+
you can find::
153153

154-
$container->setParameter('assetic.debug', $config['debug']);
154+
$container->setParameter('assetic.debug', $config['debug']);
155155

156-
The string ``%kernel.debug%`` passed here as an argument handles the
157-
interpreting job to the container which in turn does the evaluation.
158-
Both ways accomplish similar goals. AsseticBundle will not use
159-
anymore ``%kernel.debug%`` but rather the new ``%assetic.debug%`` parameter.
156+
The string ``%kernel.debug%`` passed here as an argument handles the
157+
interpreting job to the container which in turn does the evaluation.
158+
Both ways accomplish similar goals. AsseticBundle will not use
159+
anymore ``%kernel.debug%`` but rather the new ``%assetic.debug%`` parameter.

Diff for: cookbook/routing/service_container_parameters.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,4 +124,4 @@ path):
124124
.. seealso::
125125

126126
For other usages of the parameter ``%`` syntax see
127-
:doc:`Using Parameters Within A Dependency Injection Class </cookbook/using_parameters_in_dic>`.
127+
:doc:`</cookbook/configuration/using_parameters_in_dic>`.

0 commit comments

Comments
 (0)