File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -97,14 +97,14 @@ which provides utilities to profile code and displays the results on the
97
97
98
98
When using :ref: `autowiring <services-autowire >`, type-hint any argument with
99
99
the :class: `Symfony\\ Component\\ Stopwatch\\ Stopwatch ` class and Symfony will
100
- inject the Stopwatch service. Then, use the ``start() ``, ``lapse () `` and
100
+ inject the Stopwatch service. Then, use the ``start() ``, ``lap () `` and
101
101
``stop() `` methods to measure time::
102
102
103
103
// a user signs up and the timer starts...
104
104
$stopwatch->start('user-sign-up');
105
105
106
106
// ...do things to sign up the user...
107
- $stopwatch->lapse ('user-sign-up');
107
+ $stopwatch->lap ('user-sign-up');
108
108
109
109
// ...the sign up process is finished
110
110
$stopwatch->stop('user-sign-up');
You can’t perform that action at this time.
0 commit comments