public function RequestDataCollector::collect in Devel 8.2
Same name and namespace in other branches
- 8.3 webprofiler/src/DataCollector/RequestDataCollector.php \Drupal\webprofiler\DataCollector\RequestDataCollector::collect()
- 8 webprofiler/src/DataCollector/RequestDataCollector.php \Drupal\webprofiler\DataCollector\RequestDataCollector::collect()
- 4.x webprofiler/src/DataCollector/RequestDataCollector.php \Drupal\webprofiler\DataCollector\RequestDataCollector::collect()
File
- webprofiler/
src/ DataCollector/ RequestDataCollector.php, line 42
Class
- RequestDataCollector
- Integrate _content into the RequestDataCollector
Namespace
Drupal\webprofiler\DataCollectorCode
public function collect(Request $request, Response $response, \Exception $exception = NULL) {
parent::collect($request, $response, $exception);
$controller = $this->controllerResolver
->getController($request);
$this->data['controller'] = $this
->getMethodData($controller[0], $controller[1]);
$this->data['access_check'] = $this->accessCheck;
}