function AssetsDataCollector::collect

File

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

Class

AssetsDataCollector
Collects data about the used assets (CSS/JS).

Namespace

Drupal\webprofiler\DataCollector

Code

public function collect(Request $request, Response $response, \Exception $exception = NULL) {
    $this->data['assets']['installation_path'] = $this->root . '/';
}