You are here

class Stopwatch in Devel 8

Same name and namespace in other branches
  1. 8.3 webprofiler/src/Stopwatch.php \Drupal\webprofiler\Stopwatch
  2. 8.2 webprofiler/src/Stopwatch.php \Drupal\webprofiler\Stopwatch
  3. 4.x webprofiler/src/Stopwatch.php \Drupal\webprofiler\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
1 string reference to 'Stopwatch'
webprofiler.services.yml in webprofiler/webprofiler.services.yml
webprofiler/webprofiler.services.yml
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

Namesort descending Modifiers Type Description Overrides
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