CodeExplorer lap example
$this->event->
stop();
} } } public function getStatusCode(): int
{ try { return $this->response->
getStatusCode();
} finally { if ($this->event?->
isStarted()) { $this->event->
lap();
} } } public function getHeaders(bool
$throw = true
): array
{ try { return $this->response->
getHeaders($throw);
} finally { if ($this->event?->
isStarted()) { $this->event->
lap();
}