ProCacheMinify::minify method
Minify HTML of of given output ($out)
Usage
// basic usage
$float = $procache->minify->minifyHtml(string $out);
// usage with all arguments
$float = $procache->minify->minifyHtml(string $out, array $options = [], bool $debug = false);Arguments
| Name | Type(s) | Description |
|---|---|---|
$out | string | HTML output to minify. Must be a variable because it is modified directly rather than returned. |
$options (optional) | array | Options to modify behavior that comes from the |
$debug (optional) | bool | Debug mode? Default:false |
Return value
floatPercent saved
$procache->minify methods and properties
API reference based on ProcessWire core version 3.0.255