Same name in other branches
  1. 5.0.x advagg_ext_minify/src/Asset/Minifier.php \Drupal\advagg_ext_minify\Asset\Minifier::__destruct()
  2. 8.x-3.x advagg_ext_minify/src/Asset/Minifier.php \Drupal\advagg_ext_minify\Asset\Minifier::__destruct()
  3. 8.x-4.x advagg_ext_minify/src/Asset/Minifier.php \Drupal\advagg_ext_minify\Asset\Minifier::__destruct()

Destructor to clean up temporary files.

Fichier

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

Classe

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);
}