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

Commit9f26da8

Browse files
committed
minorsymfony#3720 [symfony#3539] A backport of a sentence - the parts that apply to 2.3 (weaverryan)
This PR was merged into the 2.3 branch.Discussion----------[symfony#3539] A backport of a sentence - the parts that apply to 2.3Hi guys!| Q | A ||----------------|------|| Doc fix | no || New docs | no || Applies to | 2.3 || Fixed tickets |symfony#3539 |This backports the 2.3 parts of a paragraph that was added to 2.5 (master). I like to keep the branches different in *only* different features, so it's easy going into the future to merge things.Thanks!Commits-------3006120 [symfony#3539] A backport of a sentence - the parts that apply to 2.3
2 parents3b640aa +3006120 commit9f26da8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎components/stopwatch.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ microtime by yourself. Instead, use the simple
3535
// ... some code goes here
3636
$event = $stopwatch->stop('eventName');
3737

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+
3843
You can also provide a category name to an event::
3944

4045
$stopwatch->start('eventName', 'categoryName');

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp