PHP Class MiniAsset\Filter\JSqueezeFilter

Allows you to minify Javascript files through JSqueeze.
See also: https://github.com/tchwork/jsqueeze
Inheritance: extends MiniAsset\Filter\AssetFilter
Datei anzeigen Open project: markstory/mini-asset

Protected Properties

Property Type Description
$_settings array Settings for JSqueeze minifier.

Public Methods

Method Description
output ( string $filename, string $content ) : string Apply JSqueeze to $content.

Method Details

output() public method

Apply JSqueeze to $content.
public output ( string $filename, string $content ) : string
$filename string target filename
$content string Content to filter.
return string

Property Details

$_settings protected_oe property

Settings for JSqueeze minifier.
protected array $_settings
return array