Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions performance.rst
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,13 @@ method does, which stops an event and then restarts it immediately::
// Lap information is stored as "periods" within the event:
// $event->getPeriods();

// Gets the last event period:
// $event->getLastPeriod();

.. versionadded:: 7.2

The ``getLastPeriod`` method was introduced in Symfony 7.2.

Profiling Sections
..................

Expand Down