You are here

public function DevelDataCollector::collect in Devel 8

Same name and namespace in other branches
  1. 8.3 webprofiler/src/DataCollector/DevelDataCollector.php \Drupal\webprofiler\DataCollector\DevelDataCollector::collect()
  2. 8.2 webprofiler/src/DataCollector/DevelDataCollector.php \Drupal\webprofiler\DataCollector\DevelDataCollector::collect()
  3. 4.x webprofiler/src/DataCollector/DevelDataCollector.php \Drupal\webprofiler\DataCollector\DevelDataCollector::collect()

File

webprofiler/src/DataCollector/DevelDataCollector.php, line 25

Class

DevelDataCollector
Class DevelDataCollector

Namespace

Drupal\webprofiler\DataCollector

Code

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