Skip to content

Commit b2f2909

Browse files
committed
Merge branch '6.0' into 6.1
* 6.0: Adding link to Kernel configuration add precision for stopwatch getEvent function
2 parents 80c24ea + 452a92c commit b2f2909

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

configuration.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ to change these files after package installation
5252
:doc:`Symfony Configuration Reference </reference/index>` or run the
5353
``config:dump-reference`` command.
5454

55+
.. _configuration-formats:
56+
5557
Configuration Formats
5658
~~~~~~~~~~~~~~~~~~~~~
5759

performance.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ information about the current event, even while it's still running. This
278278
object can be converted to a string for a quick summary::
279279

280280
// ...
281-
dump((string) $this->stopwatch->getEvent()); // dumps e.g. '4.50 MiB - 26 ms'
281+
dump((string) $this->stopwatch->getEvent('export-data')); // dumps e.g. '4.50 MiB - 26 ms'
282282

283283
You can also profile your template code with the :ref:`stopwatch Twig tag <reference-twig-tag-stopwatch>`:
284284

routing.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ the ``BlogController``:
152152
.. note::
153153

154154
By default Symfony only loads the routes defined in YAML format. If you
155-
define routes in XML and/or PHP formats, update the ``src/Kernel.php`` file
156-
to add support for the ``.xml`` and ``.php`` file extensions.
155+
define routes in XML and/or PHP formats, you need to
156+
:ref:`update the ``src/Kernel.php`` file <configuration-formats>`.
157157

158158
.. _routing-matching-http-methods:
159159

0 commit comments

Comments
 (0)