You are here

public function TraceableEventDispatcher::setStopwatch in Devel 4.x

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. 8.2 webprofiler/src/EventDispatcher/TraceableEventDispatcher.php \Drupal\webprofiler\EventDispatcher\TraceableEventDispatcher::setStopwatch()

Parameters

\Drupal\webprofiler\Stopwatch $stopwatch:

File

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

Class

TraceableEventDispatcher
Class TraceableEventDispatcher.

Namespace

Drupal\webprofiler\EventDispatcher

Code

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