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

NameType(s)Description
$funccallable

Return value

$this

Object instance it was called from (method supports fluent interface).

Exceptions

Method can throw exceptions on error:

  • \Exception


$min methods and properties

API reference based on ProcessWire core version 3.0.252