Overrides DataCollectorInterface::collect
public function collect(Request $request, Response $response, ?\Throwable $exception = null) : void { // Everything is collected during the request, and formatted on kernel terminate. }