You are here

public function Stopwatch::__construct in Devel 4.x

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. 8.2 webprofiler/src/Stopwatch.php \Drupal\webprofiler\Stopwatch::__construct()

@inheritdoc

File

webprofiler/src/Stopwatch.php, line 35

Class

Stopwatch
Class Stopwatch.

Namespace

Drupal\webprofiler

Code

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