You are here

public function VendorStreamWrapperAssetOptimizer::clean in Vendor Stream Wrapper 8

Removes unwanted content from an asset.

Parameters

string $content: The content of an asset.

Return value

string The cleaned asset's contents.

Overrides AssetOptimizerInterface::clean

File

src/Asset/VendorStreamWrapperAssetOptimizer.php, line 54

Class

VendorStreamWrapperAssetOptimizer
Decorates the CSS and JS optimization services.

Namespace

Drupal\vendor_stream_wrapper\Asset

Code

public function clean($content) {
  return $this->innerService
    ->clean($content);
}