Interface lajax\assetminifier\minifiers\MinifierInterface

Implemented bylajax\assetminifier\minifiers\CliCssMinifier, lajax\assetminifier\minifiers\CliJsMinifier, lajax\assetminifier\minifiers\CliMinifier, lajax\assetminifier\minifiers\PhpCssMinifier, lajax\assetminifier\minifiers\PhpJsMinifier, lajax\assetminifier\minifiers\WebCssMinifier, lajax\assetminifier\minifiers\WebJsMinifier, lajax\assetminifier\minifiers\WebMinifier
Available since version1.0

Interface for minifying asset files.

Public Methods

Hide inherited methods

MethodDescriptionDefined By
minify() Function for minifying the asset file (css, js) received as a parameter. lajax\assetminifier\minifiers\MinifierInterface

Method Details

minify() public method

Function for minifying the asset file (css, js) received as a parameter.

string minify$path )
$path string

The path of the asset file to be minified.

return string

The content of the asset file to be minified.