AssetOptimizerInterface::optimize

public AssetOptimizerInterface::optimize(array $asset)

Optimizes an asset.

Parameters

array $asset: An asset.

Return value

string The optimized asset's contents.

File

core/lib/Drupal/Core/Asset/AssetOptimizerInterface.php, line 19

Class

AssetOptimizerInterface
Interface defining a service that optimizes an asset.

Namespace

Drupal\Core\Asset

Code

public function optimize(array $asset);
doc_Drupal
2016-10-29 08:44:52
Comments
Leave a Comment

Please login to continue.