interface AssetOptimizerInterface

Interface defining a service that optimizes an asset.

Hierarchy

File

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

Namespace

Drupal\Core\Asset

Members

Name Modifiers Type Description
AssetOptimizerInterface::clean public function Removes unwanted content from an asset.
AssetOptimizerInterface::optimize public function Optimizes an asset.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Asset!AssetOptimizerInterface.php/interface/AssetOptimizerInterface/8.1.x