File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -32,8 +32,9 @@ method is responsible for storing the collected data in local properties.
32
32
33
33
.. caution ::
34
34
35
- The :method: `Symfony\\ Component\\ HttpKernel\\ DataCollector\\ DataCollectorInterface::collect ` method is only called once.
36
- It is not used to "gather" data but is there to "pick up" the data that has been stored by your service.
35
+ The ``collect() `` method is only called once. It is not used to "gather"
36
+ data but is there to "pick up" the data that has been stored by your
37
+ service.
37
38
38
39
Most of the time, it is convenient to extend
39
40
:class: `Symfony\\ Component\\ HttpKernel\\ DataCollector\\ DataCollector ` and
@@ -78,8 +79,10 @@ The getters are added to give the template access to the collected information.
78
79
79
80
.. caution ::
80
81
81
- If the data that is not directly related to the request or response, you need to make the data accessible to your DataCollector.
82
- This can be achieved by injecting the service that holds the information you intend to profile into your DataCollector.
82
+ If the data that is not directly related to the request or response,
83
+ you need to make the data accessible to your DataCollector. This can
84
+ be achieved by injecting the service that holds the information you intend
85
+ to profile into your DataCollector.
83
86
84
87
.. caution ::
85
88
You can’t perform that action at this time.
0 commit comments