Same name in other branches
  1. 5.0.x advagg_js_minify/jshrink.inc \JShrink\Minifier::clean()
  2. 6.0.x advagg_js_minify/jshrink.inc \JShrink\Minifier::clean()
  3. 7.x-2.x advagg_js_compress/jshrink.inc \JShrink\Minifier::clean()
  4. 8.x-2.x advagg_js_minify/jshrink.inc \JShrink\Minifier::clean()
  5. 8.x-4.x advagg_js_minify/jshrink.inc \JShrink\Minifier::clean()

Resets attributes that do not need to be stored between requests so that the next request is ready to go. Another reason for this is to make sure the variables are cleared and are not taking up memory.

1 call to Minifier::clean()
Minifier::minifyDirectToOutput dans advagg_js_minify/jshrink.inc
Processes a javascript string and outputs only the required characters, stripping out all unneeded characters.

Fichier

advagg_js_minify/jshrink.inc, line 291

Classe

Minifier
Minifier

Namespace

JShrink

Code

protected function clean() {
    unset($this->input);
    $this->index = 0;
    $this->a = $this->b = '';
    unset($this->c);
    unset($this->options);
}