diff --git a/components/stopwatch.rst b/components/stopwatch.rst index d2791f5bbb5..3d1d02c68c9 100644 --- a/components/stopwatch.rst +++ b/components/stopwatch.rst @@ -41,6 +41,10 @@ from the :method:`Symfony\\Component\\Stopwatch\\Stopwatch::start`, The latter should be used when you need to retrieve the duration of an event while it is still running. +The stopwatch can be reset to its original state at any given time with the +:method:`Symfony\\Component\\Stopwatch\\Stopwatch::reset` method, which deletes +all the data measured so far. + You can also provide a category name to an event:: $stopwatch->start('eventName', 'categoryName'); pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy