OnlineMinifier
abstract class OnlineMinifier extends Minifier
Properties
string | $cacheDir | from Minifier | |
bool | $keepGoing | from Minifier | |
Client | $httpClient |
Methods
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
from
Minifier
string
getFromCache(string $src)
Get the minified source from cache, or minify and cache the result
from
Minifier
void
__construct()
Constructor
Details
in
Minifier at line 30
abstract string
minify(string $src)
Minify given JavaScript source
in
Minifier at line 38
string
get(string $src)
Minify given JavaScript source and cache the result if applicable
in
Minifier at line 60
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 24
void
__construct()
Constructor