public function BackupDatabaseFileHandler::__construct in Backup Database 8
Parameters
\Drupal\backup_db\BackupDatabaseFile: The database export file to act on.
\Drupal\Core\File\FileSystem $filesystem: Provides helpers to operate on files and stream wrappers.
File
- src/
BackupDatabaseFileHandler.php, line 40 - Contains \Drupal\backup_db\BackupDatabaseFileHandler
Class
- BackupDatabaseFileHandler
- BackupDatabaseFileHandler class.
Namespace
Drupal\backup_dbCode
public function __construct(BackupDatabaseFile $file, FileSystem $filesystem) {
$this->file = $file;
$this->filesystem = $filesystem;
}