ClosureCompilerApplication
class ClosureCompilerApplication extends Minifier
Properties
string | $cacheDir | from Minifier | |
bool | $keepGoing | from Minifier | |
string | $command | ||
string | $compilationLevel | ||
bool | $excludeDefaultExterns | ||
string | $options |
Methods
string
minify(string $src)
Compile given JavaScript source via the Closure Compiler application
string
get(string $src)
Minify given JavaScript source and cache the result if applicable
from
Minifier
array|string
getCacheDifferentiator()
Return a value that uniquely identifies this minifier's configuration
string
getFromCache(string $src)
Get the minified source from cache, or minify and cache the result
from
Minifier
__construct(string $command)
Constructor
Details
at line 70
string
minify(string $src)
Compile given JavaScript source via the Closure Compiler application
in
Minifier at line 38
string
get(string $src)
Minify given JavaScript source and cache the result if applicable
at line 48
array|string
getCacheDifferentiator()
Return a value that uniquely identifies this minifier's configuration
in
Minifier at line 71
protected string
getFromCache(string $src)
Get the minified source from cache, or minify and cache the result
at line 40
__construct(string $command)
Constructor