You are here

public function TempFileAdapter::__destruct in Backup and Migrate 5.0.x

Destruct the manager.

Delete all the temporary files when this manager is destroyed.

File

src/Core/File/TempFileAdapter.php, line 59

Class

TempFileAdapter
A very basic temp file manager.

Namespace

Drupal\backup_migrate\Core\File

Code

public function __destruct() {
  $this
    ->deleteAllTempFiles();
}