class Stopwatch

Class Stopwatch

Hierarchy

  • class \Drupal\webprofiler\Stopwatch extends \Symfony\Component\Stopwatch\Stopwatch

Expanded class hierarchy of Stopwatch

1 file declares its use of Stopwatch
TraceableEventDispatcher.php in webprofiler/src/EventDispatcher/TraceableEventDispatcher.php
3 string references to 'Stopwatch'
TraceableContainer::get in webprofiler/src/DependencyInjection/TraceableContainer.php
webprofiler.services.yml in webprofiler/webprofiler.services.yml
webprofiler/webprofiler.services.yml
WebprofilerServiceProvider::alter in webprofiler/src/WebprofilerServiceProvider.php
1 service uses Stopwatch
stopwatch in webprofiler/webprofiler.services.yml
Drupal\webprofiler\Stopwatch

File

webprofiler/src/Stopwatch.php, line 8

Namespace

Drupal\webprofiler
View source
class Stopwatch extends \Symfony\Component\Stopwatch\Stopwatch {

}

Members

Title Sort descending Modifiers Object type Summary
Stopwatch::$activeSections private property
Stopwatch::$sections private property
Stopwatch::getSectionEvents public function Gets all events for a given section.
Stopwatch::isStarted public function Checks if the event was started
Stopwatch::lap public function Stops then restarts an event.
Stopwatch::openSection public function Creates a new section or re-opens an existing section.
Stopwatch::start public function Starts an event.
Stopwatch::stop public function Stops an event.
Stopwatch::stopSection public function Stops the last started section.
Stopwatch::__construct public function