interface DependencyExtractorInterface implements FilterInterface

A filter that knows how to extract dependencies.

Methods

filterLoad(AssetInterface $asset)

Filters an asset after it has been loaded.

filterDump(AssetInterface $asset)

Filters an asset just before it's dumped.

getChildren(AssetFactory $factory, string $content, string $loadPath = null)

Returns child assets.

Details

in FilterInterface at line 28
filterLoad(AssetInterface $asset)

Filters an asset after it has been loaded.

Parameters

AssetInterface $asset

An asset

in FilterInterface at line 35
filterDump(AssetInterface $asset)

Filters an asset just before it's dumped.

Parameters

AssetInterface $asset

An asset

at line 33
AssetInterface[] getChildren(AssetFactory $factory, string $content, string $loadPath = null)

Returns child assets.

Parameters

AssetFactory $factory

The asset factory

string $content

The asset content

string $loadPath

An optional load path

Return Value

AssetInterface[]

Child assets