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
9797
9898When using :ref: `autowiring <services-autowire >`, type-hint any argument with
9999the :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
101101``stop() `` methods to measure time::
102102
103103 // a user signs up and the timer starts...
104104 $stopwatch->start('user-sign-up');
105105
106106 // ...do things to sign up the user...
107- $stopwatch->lapse ('user-sign-up');
107+ $stopwatch->lap ('user-sign-up');
108108
109109 // ...the sign up process is finished
110110 $stopwatch->stop('user-sign-up');
You can’t perform that action at this time.
0 commit comments