Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitad27a83

Browse files
committed
address comments by xabbuh
1 parenta6bda5e commitad27a83

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

‎cookbook/bundles/extension.rst

Lines changed: 1 addition & 1 deletion
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

‎cookbook/configuration/front_controllers_and_kernel.rst

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

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

‎cookbook/configuration/using_parameters_in_dic.rst

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
..index::
2-
single: Using ParametersWithin A Dependency Injection Class
2+
single: Using Parameterswithin a Dependency Injection Class
33

4-
Using ParametersWithin A Dependency Injection Class
4+
Using Parameterswithin a Dependency Injection Class
55
----------------------------------------------------
66

77
You have seen how to use configuration parameters within
8-
:ref:`Symfony servicecontainer<book-service-container-parameters>`.
8+
:ref:`Symfony servicecontainers<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.

‎cookbook/routing/service_container_parameters.rst

Lines changed: 1 addition & 1 deletion
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)

[8]ページ先頭

©2009-2025 Movatter.jp