You are here

public function TraceableEventDispatcher::setStopwatch in Devel 8.2

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

Parameters

\Drupal\webprofiler\Stopwatch $stopwatch:

File

webprofiler/src/EventDispatcher/TraceableEventDispatcher.php, line 113

Class

TraceableEventDispatcher
Class TraceableEventDispatcher

Namespace

Drupal\webprofiler\EventDispatcher

Code

public function setStopwatch(Stopwatch $stopwatch) {
  $this->stopwatch = $stopwatch;
}