Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit295f109

Browse files
committed
Add reason for getEvent()
1 parentac484f4 commit295f109

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎components/stopwatch.rst‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ The :class:`Symfony\\Component\\Stopwatch\StopwatchEvent` object can be retrieve
3838
:method:`Symfony\\Component\\Stopwatch\\Stopwatch::start`,
3939
:method:`Symfony\\Component\\Stopwatch\\Stopwatch::stop`,
4040
:method:`Symfony\\Component\\Stopwatch\\Stopwatch::lap` and
41-
:method:`Symfony\\Component\\Stopwatch\\Stopwatch::getEvent` methods.
41+
:method:`Symfony\\Component\\Stopwatch\\Stopwatch::getEvent` methods.
42+
The latter should be used when you need to retrieve the duration of an event while it is still running.
4243

4344
You can also provide a category name to an event::
4445

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp