You are here

public function CssCollectionRendererWrapper::__construct in Devel 8

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

Parameters

\Drupal\Core\Asset\AssetCollectionRendererInterface $assetCollectionRenderer:

\Drupal\webprofiler\DataCollector\AssetsDataCollector $dataCollector:

File

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

Class

CssCollectionRendererWrapper
Class CssCollectionRendererWrapper.

Namespace

Drupal\webprofiler\Asset

Code

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