function RequestDataCollector::collect

File

webprofiler/src/DataCollector/RequestDataCollector.php, line 42

Class

RequestDataCollector
Integrate _content into the RequestDataCollector

Namespace

Drupal\webprofiler\DataCollector

Code

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;
}