PHP Class MiniAsset\Filter\ClosureJs

This filter assumes you have Java installed on your system and that its accessible via the PATH. It also assumes that the compiler.jar file is located in "vendors/closure" directory. You can get closure here at http://code.google.com/closure/compiler/
Inheritance: extends MiniAsset\Filter\AssetFilter
Mostrar archivo Open project: markstory/mini-asset

Protected Properties

Property Type Description
$_settings array Settings for Closure based filters.

Public Methods

Method Description
output ( string $filename, string $input ) : Compressed Run $input through Closure compiler

Method Details

output() public method

Run $input through Closure compiler
public output ( string $filename, string $input ) : Compressed
$filename string Filename being generated.
$input string Contents of file
return Compressed file

Property Details

$_settings protected_oe property

Settings for Closure based filters.
protected array $_settings
return array