Same name in other branches
- 5.0.x advagg_js_minify/jshrink.inc \JShrink\Minifier::clean()
- 6.0.x advagg_js_minify/jshrink.inc \JShrink\Minifier::clean()
- 7.x-2.x advagg_js_compress/jshrink.inc \JShrink\Minifier::clean()
- 8.x-2.x advagg_js_minify/jshrink.inc \JShrink\Minifier::clean()
- 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 in advagg_js_minify/
jshrink.inc - Processes a javascript string and outputs only the required characters, stripping out all unneeded characters.
File
-
advagg_js_minify/
jshrink.inc, line 291
Class
- Minifier
- Minifier
Namespace
JShrinkCode
protected function clean() {
unset($this->input);
$this->index = 0;
$this->a = $this->b = '';
unset($this->c);
unset($this->options);
}