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
Copy file name to clipboardExpand all lines: components/stopwatch.rst
+8-1Lines changed: 8 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,14 @@ microtime by yourself. Instead, use the simple
31
31
// ... some code goes here
32
32
$event = $stopwatch->stop('eventName');
33
33
34
-
The :class:`Symfony\\Component\\Stopwatch\StopwatchEvent` object can be retrieved from :method:`Symfony\\Component\\Stopwatch\\Stopwatch::start`, :method:`Symfony\\Component\\Stopwatch\\Stopwatch::stop`, :method:`Symfony\\Component\\Stopwatch\\Stopwatch::lap` and :method:`Symfony\\Component\\Stopwatch\\Stopwatch::getEvent`
34
+
.. versionadded:: 2.5
35
+
The ``getEvent()`` method was introduced
36
+
37
+
The :class:`Symfony\\Component\\Stopwatch\StopwatchEvent` object can be retrieved from the
0 commit comments