public function TraceableEventDispatcher::setStopwatch in Devel 4.x
Same name and namespace in other branches
- 8.3 webprofiler/src/EventDispatcher/TraceableEventDispatcher.php \Drupal\webprofiler\EventDispatcher\TraceableEventDispatcher::setStopwatch()
- 8 webprofiler/src/EventDispatcher/TraceableEventDispatcher.php \Drupal\webprofiler\EventDispatcher\TraceableEventDispatcher::setStopwatch()
- 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\EventDispatcherCode
public function setStopwatch(Stopwatch $stopwatch) {
$this->stopwatch = $stopwatch;
}