Stash a reference to the controller on each instantiation

Paramètres

(class) control: CSSCompression Controller:

Fichier

advagg_css_compress/css-compressor-3.x/src/lib/Option.inc, line 25

Classe

CSSCompression_Option
CSS Compressor [VERSION] [DATE] Corey Hart @ http://www.codenothing.com

Code

public function __construct(CSSCompression_Control $control) {
    $this->Control = $control;
    $this->options = CSSCompression::$defaults;
    $control->mode = $this->custom;
}