PHP Class MiniAsset\Output\CachedCompiler

Inheritance: implements MiniAsset\Output\CompilerInterface
Datei anzeigen Open project: markstory/mini-asset

Public Methods

Method Description
__construct ( AssetCacher $cacher, Compiler $compiler )
generate ( AssetTarget $build ) : The Generate a compiled asset, with all the configured filters applied.

Method Details

__construct() public method

public __construct ( AssetCacher $cacher, Compiler $compiler )
$cacher AssetCacher
$compiler Compiler

generate() public method

Generate a compiled asset, with all the configured filters applied.
public generate ( AssetTarget $build ) : The
$build MiniAsset\AssetTarget
return The processed result of $target and it dependencies.