File tree

4 files changed

+14
-17
lines changed

4 files changed

+14
-17
lines changed
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,8 @@ Dependency Injection component and a powerful plugin system (bundles).
6060

6161
.. seealso::
6262

63-
Read more about the :doc:`HttpKernel <kernel>` component. Read more about
64-
:doc:`Dependency Injection </book/service_container>` and :doc:`Bundles
65-
</cookbook/bundles/best_practices>`.
63+
Read more about :doc:`Dependency Injection </book/service_container>` and
64+
:doc:`Bundles </cookbook/bundles/best_practices>`.
6665

6766
``FrameworkBundle`` Bundle
6867
~~~~~~~~~~~~~~~~~~~~~~~~~~
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
How to create a custom Data Collector
55
=====================================
66

7-
The Symfony2 :ref:`Profiler <internals-profiler>` delegates data
8-
collecting to data collectors. Symfony2 comes bundled with a few of them, but
9-
you can easily create your own.
7+
The Symfony2 :ref:`Profiler <internals-profiler>` delegates data collecting to
8+
data collectors. Symfony2 comes bundled with a few of them, but you can easily
9+
create your own.
1010

1111
Creating a Custom Data Collector
1212
--------------------------------
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ you write functional tests that monitor your production servers, you might
99
want to write tests on the profiling data as it gives you a great way to check
1010
various things and enforce some metrics.
1111

12-
The Symfony2 :doc:`Profiler </book/internals/profiler>` gathers a lot of
13-
data for each request. Use this data to check the number of database calls,
14-
the time spent in the framework, ... But before writing assertions, always
15-
check that the profiler is indeed available (it is enabled by default in the
16-
``test`` environment)::
12+
The Symfony2 :ref:`Profiler <internals-profiler>` gathers a lot of data for
13+
each request. Use this data to check the number of database calls, the time
14+
spent in the framework, ... But before writing assertions, always check that
15+
the profiler is indeed available (it is enabled by default in the ``test``
16+
environment)::
1717

1818
class HelloControllerTest extends WebTestCase
1919
{
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ Configuration
2020
* `ide`_
2121
* `test`_
2222
* `form`_
23-
* :ref:`enabled<config-framework-form-enabled>`
23+
* enabled
2424
* `csrf_protection`_
25-
* :ref:`enabled<config-framework-csrf-enabled>`
26-
* `field_name`
25+
* enabled
26+
* field_name
2727
* `session`_
2828
* `lifetime`_
2929
* `templating`_
@@ -90,13 +90,11 @@ services related to testing your application (e.g. ``test.client``) are loaded.
9090
This setting should be present in your ``test`` environment (usually via
9191
``app/config/config_test.yml``). For more information, see :doc:`/book/testing`.
9292

93-
.. _reference-framework-form:
94-
9593
form
9694
~~~~
9795

9896
csrf_protection
99-
...............
97+
~~~~~~~~~~~~~~~
10098

10199
session
102100
~~~~~~~

0 commit comments

Comments
 (0)