public function WebprofilerMiddleware::handle in Devel 8
Same name and namespace in other branches
- 8.3 webprofiler/src/StackMiddleware/WebprofilerMiddleware.php \Drupal\webprofiler\StackMiddleware\WebprofilerMiddleware::handle()
- 8.2 webprofiler/src/StackMiddleware/WebprofilerMiddleware.php \Drupal\webprofiler\StackMiddleware\WebprofilerMiddleware::handle()
- 4.x webprofiler/src/StackMiddleware/WebprofilerMiddleware.php \Drupal\webprofiler\StackMiddleware\WebprofilerMiddleware::handle()
File
- webprofiler/
src/ StackMiddleware/ WebprofilerMiddleware.php, line 34
Class
- WebprofilerMiddleware
- Class WebprofilerMiddleware
Namespace
Drupal\webprofiler\StackMiddlewareCode
public function handle(Request $request, $type = self::MASTER_REQUEST, $catch = TRUE) {
foreach (Database::getAllConnectionInfo() as $key => $info) {
Database::startLog('webprofiler', $key);
}
return $this->httpKernel
->handle($request, $type, $catch);
}