data[] = [ 'start' => microtime(true), 'query' => $query, 'args' => $args, 'end' => microtime(true), 'backtrace' => $backtrace, ]; } public function stopLastLdapRequest(): void { $this->data[count($this->data) - 1]['end'] = microtime(true); } public function getName(): string { return 'ldap'; } public function collect(Request $request, Response $response, ?\Throwable $exception = null): void { } }