ProCacheMinifyHTML::setCSSMinifyFunction() method
Set the CSS minify callback function
Given function will receive CSS string as first argument, and it should return the minified CSS.
Usage
$min->setCSSMinifyFunction(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