function Stopwatch::stop
Stops an event.
Parameters
string $name The event name:
Return value
StopwatchEvent A StopwatchEvent instance
1 call to Stopwatch::stop()
- Stopwatch::stopSection in webprofiler/
src/ Stopwatch.php - Stops the last started section.
File
-
webprofiler/
src/ Stopwatch.php, line 108
Class
- Stopwatch
- Class Stopwatch
Namespace
Drupal\webprofilerCode
public function stop($name) {
return end($this->activeSections)
->stopEvent($name);
}