public 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 drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Debug/Stopwatch.php
Stops the last started section.

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Debug/Stopwatch.php, line 90

Class

Stopwatch
Stopwatch provides a way to profile code.

Namespace

Symfony\Component\HttpKernel\Debug

Code

public function stop($name) {
  return end($this->activeSections)
    ->stopEvent($name);
}