Свойство | Type | Description | |
---|---|---|---|
$config | The config instance to make objects based on. |
Méthode | 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 |
Méthode | Description | |
---|---|---|
buildFilter ( string $name, array $config ) : MiniAsset\Filter\AssetFilterInterface | Create a single filter |
public __construct ( |
||
$config |
public assetCollection ( ) : |
||
Résultat |
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. |
Résultat | 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. |
Résultat |
public filterRegistry ( ) : |
||
Résultat |