public AssetCollectionOptimizerInterface::optimize(array $assets)
Optimizes a collection of assets.
Parameters
array $assets: An asset collection.
Return value
array An optimized asset collection.
File
- core/lib/Drupal/Core/Asset/AssetCollectionOptimizerInterface.php, line 19
Class
- AssetCollectionOptimizerInterface
- Interface defining a service that optimizes a collection of assets.
Namespace
Drupal\Core\Asset
Code
public function optimize(array $assets);
Please login to continue.