Ensures the current asset includes the supplied filter.
Parameters
FilterInterface $filter A filter:
File
- drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/AssetInterface.php, line 28
Class
- AssetInterface
- An asset has a mutable URL and content and can be loaded and dumped.
Namespace
Assetic\Asset
Code
public function ensureFilter(FilterInterface $filter);