Property | Type | Description | |
---|---|---|---|
$_driver | string | Javascript minification driver. | |
$_params | array | Javacscript minification params. | |
$_sourcemap | boolean | Does the minification driver support sourcemaps? |
Method | Description | |
---|---|---|
__construct ( string $driver, array $params = [] ) | Constructor. | |
__get ( $name ) | ||
getMinifier ( array $scripts, string $sourcemap = null ) : Horde_JavascriptMinify | Returns a minifier object. |
public __construct ( string $driver, array $params = [] ) | ||
$driver | string | Minification driver. |
$params | array | Configuration parameters. |
public getMinifier ( array $scripts, string $sourcemap = null ) : Horde_JavascriptMinify | ||
$scripts | array | Script list. |
$sourcemap | string | Sourcemap URL. |
return | Horde_JavascriptMinify | Minifier object. |
protected string $_driver | ||
return | string |
protected array $_params | ||
return | array |
protected bool $_sourcemap | ||
return | boolean |