public function TimeDataCollector::collect in Devel 8.2
Same name and namespace in other branches
- 8.3 webprofiler/src/DataCollector/TimeDataCollector.php \Drupal\webprofiler\DataCollector\TimeDataCollector::collect()
- 8 webprofiler/src/DataCollector/TimeDataCollector.php \Drupal\webprofiler\DataCollector\TimeDataCollector::collect()
- 4.x webprofiler/src/DataCollector/TimeDataCollector.php \Drupal\webprofiler\DataCollector\TimeDataCollector::collect()
File
- webprofiler/
src/ DataCollector/ TimeDataCollector.php, line 31
Class
- TimeDataCollector
- Class TimeDataCollector.
Namespace
Drupal\webprofiler\DataCollectorCode
public function collect(Request $request, Response $response, \Exception $exception = NULL) {
parent::collect($request, $response, $exception);
$this->data['memory_limit'] = $this
->convertToBytes(ini_get('memory_limit'));
$this
->updateMemoryUsage();
}