You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR was merged into the 3.4 branch.
Discussion
----------
[Stopwatch] Add a reset method
| Q | A
| ------------- | ---
| Branch? | 3.4
| Bug fix? | no
| New feature? | yes
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #23284
| License | MIT
| Doc PR | symfony/symfony-docs#8082
Let the Stopwatch to be reset to its original state, deleting all the data measured so far. This allows the stopwatch to be reusable, and emulates an actual stopwatch's reset button.
Commits
-------
7cda099 [Stopwatch] Add a reset method
This PR was merged into the master branch.
Discussion
----------
[Stopwatch] Document the reset method
Documentation for the new `Stopwatch::reset` method described in symfony/symfony#23284.
Commits
-------
4b21133 [Stopwatch] Document the reset method
Allow the Stopwatch to be reset to its original state, deleting all the data measured so far, just as an actual stopwatch.
The text was updated successfully, but these errors were encountered: