You are here

class Stopwatch in Devel 4.x

Same name and namespace in other branches
  1. 8.3 webprofiler/src/Stopwatch.php \Drupal\webprofiler\Stopwatch
  2. 8 webprofiler/src/Stopwatch.php \Drupal\webprofiler\Stopwatch
  3. 8.2 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 10

Namespace

Drupal\webprofiler
View source
class Stopwatch extends SymfonyStopwatch {

}

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 named 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 @inheritdoc