You are here

public function VendorStreamWrapperAssetOptimizer::__construct in Vendor Stream Wrapper 8

Creates a new VendorStreamWrapperCssOptimizer instance.

Parameters

\Drupal\Core\Asset\AssetOptimizerInterface $inner_service: The original asset optimization service instance that is being decorated.

File

src/Asset/VendorStreamWrapperAssetOptimizer.php, line 33

Class

VendorStreamWrapperAssetOptimizer
Decorates the CSS and JS optimization services.

Namespace

Drupal\vendor_stream_wrapper\Asset

Code

public function __construct(AssetOptimizerInterface $inner_service) {
  $this->innerService = $inner_service;
}