Skip to content

Commit 27fa9ef

Browse files
committed
minor #14000 [Stopwatch] Add name property to the stopwatchEvent (AhmedRaafat14)
This PR was squashed before being merged into the master branch. Discussion ---------- [Stopwatch] Add name property to the stopwatchEvent Q | A -- | -- Branch? | master for features Bug fix? | no New feature? | yes Deprecations? | no Tickets | Fix #14051 Commits ------- 5d971ee [Stopwatch] Add name property to the stopwatchEvent
2 parents 12c71a6 + 5d971ee commit 27fa9ef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/stopwatch.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ For example::
102102
$event->getEndTime(); // returns the end time of the very last period
103103
$event->getDuration(); // returns the event duration, including all periods
104104
$event->getMemory(); // returns the max memory usage of all periods
105+
$event->getName(); // returns the event name
105106

106107
Sections
107108
--------

0 commit comments

Comments
 (0)