Minifier
abstract class Minifier
Properties
string | $cacheDir | ||
bool | $keepGoing |
Methods
string
minify(string $src)
Minify given JavaScript source
string
get(string $src)
Minify given JavaScript source and cache the result if applicable
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
Details
at line 30
abstract string
minify(string $src)
Minify given JavaScript source
at line 38
string
get(string $src)
Minify given JavaScript source and cache the result if applicable
at line 60
array|string
getCacheDifferentiator()
Return a value that uniquely identifies this minifier's configuration
at line 71
protected string
getFromCache(string $src)
Get the minified source from cache, or minify and cache the result