Static access for direct compression
Paramètres
(string) css: Stylesheet to be compressed:
(mixed) options: Array of options or mode to use.:
Fichier
-
advagg_css_compress/
css-compressor-3.x/ src/ CSSCompression.inc, line 320
Classe
Code
public static function express($css = NULL, $options = NULL) {
if (!self::$express) {
self::$express = new CSSCompression();
}
self::$express->reset();
return self::$express->compress($css, $options);
}