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.
3232
3333.. caution ::
3434
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.
3738
3839Most of the time, it is convenient to extend
3940:class: `Symfony\\ Component\\ HttpKernel\\ DataCollector\\ DataCollector ` and
@@ -78,8 +79,10 @@ The getters are added to give the template access to the collected information.
7879
7980.. caution ::
8081
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.
8386
8487.. caution ::
8588
You can’t perform that action at this time.
0 commit comments