You are here

public function TempFileAdapter::__destruct in Backup and Migrate 8.4

Destruct the manager. Delete all the temporary files when this manager is destroyed.

File

lib/backup_migrate_core/src/File/TempFileAdapter.php, line 53

Class

TempFileAdapter
Provides a very basic temp file manager which assumes read/write access to a local temp directory.

Namespace

BackupMigrate\Core\File

Code

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