Skip to content

Commit e34ce40

Browse files
committed
improve formatting in stopwatch.rst
1 parent ec5beb2 commit e34ce40

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

components/stopwatch.rst

+2-3
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,12 @@ Symfony Profiler tool uses categories to nicely color-code different events.
5151
Usage in symfony
5252
----------------
5353

54-
In a Controller, do:
54+
In a Controller, do::
5555

5656
$stopwatch = $this->get('debug.stopwatch');
5757
$stopwatch->start('anEvent');
5858

59-
Or inject `Symfony\Component\Stopwatch\Stopwatch` by autowiring.
60-
59+
Or inject :class:`Symfony\\Component\\Stopwatch\\Stopwatch` by autowiring.
6160
Thereafter this timing can be seen in the profiler.
6261

6362
Periods

0 commit comments

Comments
 (0)