interface FilterInterface

A filter manipulates an asset at load and dump.

@author Kris Wallsmith <kris.wallsmith@gmail.com>

Hierarchy

Expanded class hierarchy of FilterInterface

All classes that implement FilterInterface

15 files declare their use of FilterInterface
AssetCache.php in drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/AssetCache.php
AssetCollection.php in drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/AssetCollection.php
AssetInterface.php in drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/AssetInterface.php
AssetReference.php in drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/AssetReference.php
BaseAsset.php in drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Asset/BaseAsset.php

... See full list

File

drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Filter/FilterInterface.php, line 21

Namespace

Assetic\Filter
View source
interface FilterInterface {

  /**
   * Filters an asset after it has been loaded.
   *
   * @param AssetInterface $asset An asset
   */
  public function filterLoad(AssetInterface $asset);

  /**
   * Filters an asset just before it's dumped.
   *
   * @param AssetInterface $asset An asset
   */
  public function filterDump(AssetInterface $asset);

}

Members

Namesort descending Modifiers Type Description Overrides
FilterInterface::filterDump public function Filters an asset just before it's dumped. 30
FilterInterface::filterLoad public function Filters an asset after it has been loaded. 27