function 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();
}