Stops the last started event period.
StopwatchEvent The event
public function stop() {
if (!count($this->started)) {
throw new \LogicException('stop() called but start() has not been called before.');
}
$this->periods[] = array(
array_pop($this->started),
$this
->getNow(),
);
return $this;
}