We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b33f1ab + 77ac7d8 commit 1ee6ff1Copy full SHA for 1ee6ff1
profiler.rst
@@ -97,14 +97,14 @@ which provides utilities to profile code and displays the results on the
97
98
When using :ref:`autowiring <services-autowire>`, type-hint any argument with
99
the :class:`Symfony\\Component\\Stopwatch\\Stopwatch` class and Symfony will
100
-inject the Stopwatch service. Then, use the ``start()``, ``lapse()`` and
+inject the Stopwatch service. Then, use the ``start()``, ``lap()`` and
101
``stop()`` methods to measure time::
102
103
// a user signs up and the timer starts...
104
$stopwatch->start('user-sign-up');
105
106
// ...do things to sign up the user...
107
- $stopwatch->lapse('user-sign-up');
+ $stopwatch->lap('user-sign-up');
108
109
// ...the sign up process is finished
110
$stopwatch->stop('user-sign-up');
0 commit comments