Skip to content

Commit d56d2ea

Browse files
Fixing some errors in di workflow page
1 parent 6f38035 commit d56d2ea

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

components/dependency_injection/workflow.rst

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,18 @@ in the Symfony2 full stack framework will help you see how this all fits
1212
together whether you are using the full stack framework or looking to use
1313
the service container in another application.
1414

15-
The full stack framework uses the ``HTTPKernel`` component to manage the loading
15+
The full stack framework uses the ``HttpKernel`` component to manage the loading
1616
of service container configuration from the app level and from bundles as well
17-
as with the compilation and caching. Even if you are not using the ``HTTPKernel``
17+
as with the compilation and caching. Even if you are not using the ``HttpKernel``
1818
it should give you an idea of a way of organising configuration in a modular
1919
application.
2020

21-
Working with cached controller
22-
------------------------------
21+
Working with cached container
22+
-----------------------------
2323

24-
Before building the container a cached version is checked for. The ``HTTPKernel``
24+
Before building the container a cached version is checked for. The ``HttpKernel``
2525
has a debug setting, if this is false then the cached version is used if it
26-
exists. If debug is true then the cached configuration is checked for freshness
26+
exists. If debug is true then the :doc:`cached configuration is checked for freshness<components/config/caching>`
2727
and the cached version of the container used if it is. If not then the container
2828
is built from the app level configuration and the bundle's extension configuration.
2929
Read :ref:`Dumping the Configuration for Performance<components-dependency-injection-dumping>`
@@ -33,12 +33,12 @@ Application level configuration
3333
-------------------------------
3434

3535
Application level config is loaded from the ``app/config`` directory. Multiple
36-
files are loaded which are then merged when the Extensions are processed. This
36+
files are loaded which are then merged when the extensions are processed. This
3737
allows for different config for different environments e.g. dev, prod.
3838

39-
These files contain parameters and services to be be loaded directly into
39+
These files contain parameters and services to be loaded directly into
4040
the container as per :ref:`Setting Up the Container with Configuration Files<components-dependency-injection-loading-config>`.
41-
They all contain config to be processed by Extensions as per :ref:`Managing Configuration with Extensions<components-dependency-injection-extension>`.
41+
They all contain config to be processed by extensions as per :ref:`Managing Configuration with Extensions<components-dependency-injection-extension>`.
4242
These are considered to be bundle configuration since each bundle contains
4343
an Extension class.
4444

@@ -47,12 +47,12 @@ Bundle level config with extensions
4747

4848
By convention each bundle contains an Extension class which is in the bundle's
4949
Dependency Injection directory. These are registered with the ``ContainerBuilder``
50-
when the Kernel is booted. When the ContainerBundle is :doc:`compiled<components/dependency-injection/compilation>`
50+
when the Kernel is booted. When the ContainerBuilder is :doc:`compiled<components/dependency-injection/compilation>`
5151
the app level config relevant to the bundle's extension is passed to the Extension
5252
which also usually loads its own config file(s), typically from the bundle's
5353
``Resources/config`` directory. The app level config is usually processed with
54-
a Configuration object also stored in the bundle's ``DependencyInjection``
55-
directory.
54+
a :doc:`Configuration object<components/config/definition>` also stored in the
55+
bundle's ``DependencyInjection`` directory.
5656

5757
Compiler passes to allow interaction between bundles
5858
----------------------------------------------------

0 commit comments

Comments
 (0)