You are here

public function Minifier::__destruct in Advanced CSS/JS Aggregation 8.4

Same name and namespace in other branches
  1. 8.3 advagg_ext_minify/src/Asset/Minifier.php \Drupal\advagg_ext_minify\Asset\Minifier::__destruct()

Destructor to clean up temporary files.

File

advagg_ext_minify/src/Asset/Minifier.php, line 67

Class

Minifier
Optimizes a asset via external minifiers.

Namespace

Drupal\advagg_ext_minify\Asset

Code

public function __destruct() {
  $this->file
    ->unlink($this->in);
  $this->file
    ->unlink($this->out);
}