You are here

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

Destructor.

File

src/Core/File/ReadableStreamBackupFile.php, line 49

Class

ReadableStreamBackupFile
Uses a readable PHP stream such as a local file.

Namespace

Drupal\backup_migrate\Core\File

Code

public function __destruct() {

  // Close the handle if we've opened it.
  $this
    ->close();
}