1 backup.class.inc | public Backup::preRestore(BackupFile &$file) |
Prepare a file for restoration.
This step is usually utilized to decompress a backup file.
Parameters
BackupFile $file: The file containing the backup to be restored. This is explicitly passed by reference to allow it to be reassigned to a new file if needed.
Return value
void:
File
- core/
includes/ backup/ backup.class.inc, line 202 - Contains the Backup base class.
Class
- Backup
- Base class for creating backups.
Code
public function preRestore(BackupFile &$file) {
$this->prepareEnvironment();
}