8000
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.
1 parent 5a3ba1b commit 3006120Copy full SHA for 3006120
components/stopwatch.rst
@@ -35,6 +35,11 @@ microtime by yourself. Instead, use the simple
35
// ... some code goes here
36
$event = $stopwatch->stop('eventName');
37
38
+The :class:`Symfony\\Component\\Stopwatch\StopwatchEvent` object can be retrieved
39
+from the :method:`Symfony\\Component\\Stopwatch\\Stopwatch::start`,
40
+:method:`Symfony\\Component\\Stopwatch\\Stopwatch::stop` and
41
+:method:`Symfony\\Component\\Stopwatch\\Stopwatch::lap` methods.
42
+
43
You can also provide a category name to an event::
44
45
$stopwatch->start('eventName', 'categoryName');
0 commit comments