We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 674f0c9 commit 86a4de5Copy full SHA for 86a4de5
profiler.rst
@@ -51,7 +51,9 @@ method to access to its associated profile::
51
52
.. note::
53
54
- To declare the profiler service you can refer to :ref:`Enabling the Profiler Conditionally <enabling_the_profiler_conditionally_tag>`.
+ The ``profiler`` service will be :doc:`autowired </service_container/autowiring>`
55
+ automatically when type-hinting any service argument with the
56
+ :class:`Symfony\\Component\\HttpKernel\\Profiler\\Profiler` class.
57
58
When the profiler stores data about a request, it also associates a token with it;
59
this token is available in the ``X-Debug-Token`` HTTP header of the response.
0 commit comments