DependencyExtractorInterface
extends
FilterInterface
in
A filter that knows how to extract dependencies.
Tags
Table of Contents
- filterDump() : mixed
- Filters an asset just before it's dumped.
- filterLoad() : mixed
- Filters an asset after it has been loaded.
- getChildren() : array<string|int, AssetInterface>
- Returns child assets.
Methods
filterDump()
Filters an asset just before it's dumped.
public
filterDump(AssetInterface $asset) : mixed
Parameters
- $asset : AssetInterface
-
An asset
Return values
mixed —filterLoad()
Filters an asset after it has been loaded.
public
filterLoad(AssetInterface $asset) : mixed
Parameters
- $asset : AssetInterface
-
An asset
Return values
mixed —getChildren()
Returns child assets.
public
getChildren(AssetFactory $factory, string $content[, string $loadPath = null ]) : array<string|int, AssetInterface>
Parameters
- $factory : AssetFactory
-
The asset factory
- $content : string
-
The asset content
- $loadPath : string = null
-
An optional load path
Return values
array<string|int, AssetInterface> —Child assets