Static access for direct compression

Parameters

(string) css: Stylesheet to be compressed:

(mixed) options: Array of options or mode to use.:

File

advagg_css_compress/css-compressor-3.x/src/CSSCompression.inc, line 320

Class

CSSCompression

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);
}