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