public static function CSSCompression::express in Advanced CSS/JS Aggregation 6
Same name and namespace in other branches
- 7 advagg_css_compress/css-compressor-3.x/src/CSSCompression.inc \CSSCompression::express()
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
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);
}