You are here

public function XHProfDataCollector::collect in XHProf 8

File

src/DataCollector/XHProfDataCollector.php, line 46

Class

XHProfDataCollector
Class XHProfDataCollector.

Namespace

Drupal\xhprof\DataCollector

Code

public function collect(Request $request, Response $response, \Exception $exception = NULL) {
  $this->data['run_id'] = $this->profiler
    ->getRunId();
}