Property | Type | Description | |
---|---|---|---|
$config | The config instance to make objects based on. |
Method | Description | |
---|---|---|
__construct ( |
Constructor | |
assetCollection ( ) : |
Create an AssetCollection with all the configured assets. | |
cachedCompiler ( string $outputDir = '', boolean $debug = false ) : |
Create a Caching Compiler | |
cacher ( string $path = '' ) : MiniAsset\AssetCacher | Create an AssetCacher | |
compiler ( boolean $debug = false ) : |
Create an Compiler | |
filterRegistry ( ) : |
Create a filter registry containing all the configured filters. | |
scanner ( array $paths ) : |
Create a new scanner instance for the provided paths. | |
target ( string $name ) : |
Create a single build target | |
writer ( string $tmpPath = '' ) : MiniAsset\AssetWriter | Create an AssetWriter |
Method | Description | |
---|---|---|
buildFilter ( string $name, array $config ) : MiniAsset\Filter\AssetFilterInterface | Create a single filter |
public __construct ( |
||
$config |
public assetCollection ( ) : |
||
return |
protected buildFilter ( string $name, array $config ) : MiniAsset\Filter\AssetFilterInterface | ||
$name | string | The name of the filter to build. |
$config | array | The configuration for the filter. |
return | MiniAsset\Filter\AssetFilterInterface |
public cachedCompiler ( string $outputDir = '', boolean $debug = false ) : |
||
$outputDir | string | The directory to output cached files to. |
$debug | boolean | Whether or not to enable debugging mode for the compiler. |
return |
public filterRegistry ( ) : |
||
return |