You are here

public function Stopwatch::__construct in Devel 8.2

Same name and namespace in other branches
  1. 8.3 webprofiler/src/Stopwatch.php \Drupal\webprofiler\Stopwatch::__construct()
  2. 8 webprofiler/src/Stopwatch.php \Drupal\webprofiler\Stopwatch::__construct()
  3. 4.x webprofiler/src/Stopwatch.php \Drupal\webprofiler\Stopwatch::__construct()

File

webprofiler/src/Stopwatch.php, line 33

Class

Stopwatch
Class Stopwatch

Namespace

Drupal\webprofiler

Code

public function __construct() {
  $this->sections = $this->activeSections = [
    '__root__' => new Section('__root__'),
  ];
}