You are here

public function JsCollectionRendererWrapper::__construct in Devel 4.x

Same name and namespace in other branches
  1. 8.3 webprofiler/src/Asset/JsCollectionRendererWrapper.php \Drupal\webprofiler\Asset\JsCollectionRendererWrapper::__construct()
  2. 8 webprofiler/src/Asset/JsCollectionRendererWrapper.php \Drupal\webprofiler\Asset\JsCollectionRendererWrapper::__construct()
  3. 8.2 webprofiler/src/Asset/JsCollectionRendererWrapper.php \Drupal\webprofiler\Asset\JsCollectionRendererWrapper::__construct()

Parameters

\Drupal\Core\Asset\AssetCollectionRendererInterface $assetCollectionRenderer:

\Drupal\webprofiler\DataCollector\AssetsDataCollector $dataCollector:

File

webprofiler/src/Asset/JsCollectionRendererWrapper.php, line 27

Class

JsCollectionRendererWrapper
Class JsCollectionRendererWrapper.

Namespace

Drupal\webprofiler\Asset

Code

public function __construct(AssetCollectionRendererInterface $assetCollectionRenderer, AssetsDataCollector $dataCollector) {
  $this->assetCollectionRenderer = $assetCollectionRenderer;
  $this->dataCollector = $dataCollector;
}