interface DependencyExtractorInterface

A filter that knows how to extract dependencies.

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

Hierarchy

Expanded class hierarchy of DependencyExtractorInterface

All classes that implement DependencyExtractorInterface

2 files declare their use of DependencyExtractorInterface
LazyAssetManager.php in drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Factory/LazyAssetManager.php
SassFilter.php in drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Filter/Sass/SassFilter.php

File

drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Filter/DependencyExtractorInterface.php, line 22

Namespace

Assetic\Filter
View source
interface DependencyExtractorInterface extends FilterInterface {

  /**
   * Returns child assets.
   *
   * @param AssetFactory $factory  The asset factory
   * @param string       $content  The asset content
   * @param string       $loadPath An optional load path
   *
   * @return AssetInterface[] Child assets
   */
  public function getChildren(AssetFactory $factory, $content, $loadPath = null);

}

Members

Namesort descending Modifiers Type Description Overrides
DependencyExtractorInterface::getChildren public function Returns child assets. 11
FilterInterface::filterDump public function Filters an asset just before it's dumped. 36
FilterInterface::filterLoad public function Filters an asset after it has been loaded. 34