PHP Class MiniAsset\Cli\BuildTask

Inheritance: extends BaseTask
Datei anzeigen Open project: markstory/mini-asset Class Usage Examples

Protected Methods

Method Description
_buildTarget ( Factory $factory, AssetTarget $build ) : void Generate and save the cached file for a build target.
addArguments ( ) : void Define the CLI options.
execute ( ) : void Build all the files declared in the Configuration object.

Method Details

_buildTarget() protected method

Generate and save the cached file for a build target.
protected _buildTarget ( Factory $factory, AssetTarget $build ) : void
$factory MiniAsset\Factory The factory class.
$build MiniAsset\AssetTarget The build target.
return void

addArguments() protected method

Define the CLI options.
protected addArguments ( ) : void
return void

execute() protected method

Build all the files declared in the Configuration object.
protected execute ( ) : void
return void