Set the javascript minify callback function
Given function will receive JS string as first argument, and it should return the minified JS.
Usage
$proCacheMinifyHTML->setJSMinifyFunction(callable $func);
Arguments
Name | Type(s) | Description |
---|---|---|
func | callable |
Return value
$this
Object instance it was called from (method supports fluent interface).
Exceptions
Method can throw exceptions on error:
\Exception
ProCacheMinifyHTML methods and properties
API reference based on ProcessWire core version 3.0.244